:root {
  --site-orange: #f06c25;
  --site-dawn: #f97316;
  --site-cream: #fff7ed;
  --site-soft: #fdf0e6;
  --site-ink: #111827;
  --site-muted: #6b7280;
  --site-line: rgba(240, 108, 37, 0.16);
  --site-card: rgba(255, 255, 255, 0.86);
  --site-shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 34%, #fdf0e6 100%);
  color: var(--site-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--site-line);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-orange), var(--site-dawn));
  box-shadow: 0 12px 28px rgba(240, 108, 37, 0.28);
  font-size: 0.85rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--site-orange), var(--site-dawn));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em {
  margin-top: 0.18rem;
  color: var(--site-muted);
  font-size: 0.75rem;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link,
.mobile-link {
  border-radius: 999px;
  color: #4b5563;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link {
  padding: 0.62rem 1rem;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--site-orange);
  background: rgba(253, 240, 230, 0.88);
}

.menu-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  background: rgba(253, 240, 230, 0.8);
  border: 1px solid var(--site-line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.1rem;
  height: 2px;
  background: var(--site-orange);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--site-line);
  padding: 0.75rem 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-nav.is-open {
  display: grid;
  gap: 0.45rem;
}

.mobile-link {
  padding: 0.8rem 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.hero {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.25rem;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 2rem;
  background: #111827;
  box-shadow: var(--site-shadow);
}

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

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

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: saturate(1.1);
}

.hero-overlay {
  background: radial-gradient(circle at 72% 22%, rgba(249, 115, 22, 0.24), transparent 34%), linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62) 45%, rgba(17, 24, 39, 0.2)), linear-gradient(0deg, rgba(17, 24, 39, 0.76), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 2rem;
  align-items: center;
  padding: 4rem clamp(1.5rem, 6vw, 5.5rem);
}

.hero-copy {
  max-width: 720px;
  color: #ffffff;
}

.hero-kicker,
.type-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--site-orange), var(--site-dawn));
  box-shadow: 0 10px 28px rgba(240, 108, 37, 0.28);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.6rem, 6vw, 5.35rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags {
  margin-top: 1.4rem;
}

.hero-tags span,
.detail-tags span,
.mini-tags span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 0.38rem 0.72rem;
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--site-orange), var(--site-dawn));
  box-shadow: 0 16px 34px rgba(240, 108, 37, 0.33);
}

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

.hero-poster {
  width: min(100%, 360px);
  aspect-ratio: 3 / 4.25;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.hero-controls {
  position: absolute;
  z-index: 4;
  left: clamp(1.5rem, 6vw, 5.5rem);
  bottom: 2rem;
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 2.2rem;
  height: 0.42rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

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

.hero-quick {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.hero-quick a,
.category-tile,
.category-panel,
.content-card,
.detail-info,
.player-card,
.movie-card,
.rank-row a {
  background: var(--site-card);
  border: 1px solid var(--site-line);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.hero-quick a {
  min-height: 4.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  color: #374151;
  font-weight: 800;
}

.hero-quick a span {
  color: var(--site-orange);
  font-size: 1.2rem;
}

.section-block {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.55rem;
}

.heading-line {
  display: inline-block;
  width: 0.35rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--site-orange), var(--site-dawn));
  vertical-align: middle;
  margin-right: 0.75rem;
}

.section-heading h2 {
  display: inline-block;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
  font-weight: 900;
}

.section-heading p {
  margin: 0.45rem 0 0 1.15rem;
  color: var(--site-muted);
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--site-orange);
  font-weight: 800;
}

.featured-grid,
.movie-grid {
  display: grid;
  gap: 1.15rem;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 1.35rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 56px rgba(17, 24, 39, 0.13);
}

.movie-card a {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #7c2d12);
}

.movie-card.is-featured .poster-wrap {
  aspect-ratio: 16 / 11.5;
}

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

.movie-card:hover .poster-wrap img,
.category-tile:hover img,
.category-panel:hover img {
  transform: scale(1.08);
}

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 24, 39, 0.78));
}

.type-badge,
.duration-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.type-badge {
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.62rem;
  background: rgba(240, 108, 37, 0.92);
}

.duration-badge {
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: rgba(17, 24, 39, 0.78);
}

.rank-badge {
  top: 0.75rem;
  right: 0.75rem;
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--site-orange), var(--site-dawn));
}

.movie-info {
  padding: 1rem;
}

.movie-info h3 {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info p {
  min-height: 2.7rem;
  margin: 0.5rem 0 0.85rem;
  color: var(--site-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #9ca3af;
  font-size: 0.78rem;
}

.movie-meta span,
.detail-meta span {
  border-radius: 999px;
  background: rgba(253, 240, 230, 0.9);
  color: #9a3412;
  padding: 0.24rem 0.5rem;
}

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

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

.category-tile,
.category-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  min-height: 150px;
  color: #ffffff;
}

.category-tile img,
.category-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile::after,
.category-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.78));
}

.category-tile span,
.category-tile em,
.category-panel div {
  position: relative;
  z-index: 2;
}

.category-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 1rem;
}

.category-tile span,
.category-panel h2 {
  font-size: 1.2rem;
  font-weight: 900;
}

.category-tile em,
.category-panel p {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.55;
  font-size: 0.9rem;
}

.category-panel {
  min-height: 245px;
  display: flex;
  align-items: flex-end;
  padding: 1.35rem;
}

.mini-tags {
  margin-top: 0.9rem;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.rank-list {
  display: grid;
  gap: 0.85rem;
}

.rank-row a {
  display: grid;
  grid-template-columns: 3.2rem 6rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-radius: 1.15rem;
  padding: 0.75rem;
}

.rank-num {
  color: var(--site-orange);
  text-align: center;
  font-size: 1.25rem;
}

.rank-row img {
  width: 6rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 0.85rem;
}

.rank-text {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.rank-text b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-text em {
  color: var(--site-muted);
  font-size: 0.85rem;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-stat {
  color: #9a3412;
  font-weight: 800;
  background: rgba(253, 240, 230, 0.9);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
}

.page-shell {
  padding-top: 1.2rem;
}

.page-hero {
  max-width: 1280px;
  margin: 0 auto 1.5rem;
  padding: 1.25rem;
}

.compact-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 260px;
  border-radius: 2rem;
  color: #ffffff;
  background: radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.16), transparent 34%), linear-gradient(135deg, #111827, #7c2d12 54%, var(--site-orange));
  padding: clamp(2rem, 6vw, 4rem);
  box-shadow: var(--site-shadow);
}

.compact-hero h1 {
  margin: 0.9rem 0 0.65rem;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 950;
}

.compact-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
}

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto 1rem;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #6b7280;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--site-orange);
  font-weight: 700;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--site-line);
  backdrop-filter: blur(18px);
}

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

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: #ffffff;
  padding: 0.85rem 1rem;
  color: #374151;
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(240, 108, 37, 0.62);
  box-shadow: 0 0 0 4px rgba(240, 108, 37, 0.12);
}

.detail-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1.2rem;
}

.player-card,
.detail-info,
.content-card {
  border-radius: 1.4rem;
  overflow: hidden;
}

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

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

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111827;
  overflow: hidden;
}

.play-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.play-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.15), rgba(17, 24, 39, 0.72));
}

.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-button span {
  width: 5.3rem;
  height: 5.3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--site-orange);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  font-size: 2rem;
  padding-left: 0.16rem;
}

.player-shell.is-playing .play-cover {
  display: none;
}

.detail-info {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.detail-info h1 {
  margin: 1rem 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1.16;
}

.lead-text {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.8;
}

.detail-meta {
  margin: 1.2rem 0;
}

.detail-tags span {
  color: #9a3412;
  background: rgba(253, 240, 230, 0.92);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 3rem;
}

.content-card {
  padding: 1.35rem;
}

.content-card h2 {
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.content-card p {
  color: #4b5563;
  line-height: 1.9;
}

.related-card {
  grid-column: 1 / -1;
}

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

.movie-card.is-compact .poster-wrap {
  aspect-ratio: 16 / 10;
}

.movie-card.is-compact .movie-info p {
  min-height: auto;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--site-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(253, 240, 230, 0.86));
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-brand p,
.site-footer li,
.site-footer a {
  color: #6b7280;
  line-height: 1.8;
}

.site-footer h3 {
  margin-bottom: 0.65rem;
  font-weight: 900;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.6rem;
  border-top: 1px solid var(--site-line);
  color: #9ca3af;
  font-size: 0.9rem;
}

[data-video-card].is-hidden {
  display: none;
}

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

  .hero-content {
    grid-template-columns: 1fr 280px;
  }

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

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

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

  .hero-stage,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-poster {
    display: none;
  }

  .hero-quick,
  .movie-grid,
  .featured-grid,
  .category-grid,
  .category-grid.large,
  .rank-grid,
  .related-list,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 560px) {
  .nav-wrap,
  .hero,
  .container,
  .page-hero,
  .detail-layout {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

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

  .hero-stage,
  .hero-content {
    min-height: 590px;
  }

  .hero-content {
    padding: 2rem 1.2rem 4rem;
  }

  .hero-quick,
  .movie-grid,
  .featured-grid,
  .category-grid,
  .category-grid.large,
  .rank-grid,
  .related-list,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rank-row a {
    grid-template-columns: 2.6rem 5rem minmax(0, 1fr);
  }

  .rank-row img {
    width: 5rem;
    height: 3.5rem;
  }

  .rank-stat {
    display: none;
  }

  .play-button span {
    width: 4.2rem;
    height: 4.2rem;
    font-size: 1.6rem;
  }
}
