:root {
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --amber: #f59e0b;
  --amber-light: #fffbeb;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(154, 52, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 42%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.96));
  box-shadow: 0 10px 35px rgba(154, 52, 18, 0.10);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon,
.footer-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #fb923c, #d97706);
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.25);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.1) rotate(4deg);
}

.brand-text strong,
.footer-brand strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em,
.footer-brand p {
  display: block;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

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

.nav-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}

.header-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input {
  width: 230px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  color: #374151;
  background: rgba(255, 255, 255, 0.9);
  padding: 11px 15px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.big-search input {
  width: min(520px, 100%);
  padding: 15px 18px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18);
}

.header-search button,
.mobile-search button,
.big-search button,
.primary-btn {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #f97316, #f59e0b);
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(234, 88, 12, 0.28);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: 30px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(251, 146, 60, 0.25);
}

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

.mobile-nav-inner {
  display: grid;
  gap: 16px;
  padding: 18px 0;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(100deg, #fb923c, #f59e0b 48%, #ea580c);
}

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

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

.hero-bg,
.ranking-hero img,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.28), transparent 18%),
    radial-gradient(circle at 86% 80%, rgba(255, 255, 255, 0.24), transparent 20%),
    linear-gradient(90deg, rgba(154, 52, 18, 0.92), rgba(234, 88, 12, 0.76), rgba(15, 23, 42, 0.52));
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 620px;
  color: #fff;
}

.hero-copy {
  max-width: 700px;
}

.hero-kicker,
.page-hero span,
.ranking-hero-content span {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  padding: 7px 14px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero h1,
.page-hero h1,
.ranking-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero p,
.page-hero p,
.ranking-hero p,
.detail-one-line {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2.4vw, 24px);
}

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

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

.hero-tags span,
.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-actions,
.page-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ghost-btn {
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  padding: 10px 18px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
  color: var(--orange);
  background: #fff;
  transform: translateY(-2px);
}

.ghost-btn.dark {
  border-color: rgba(234, 88, 12, 0.35);
  color: var(--orange);
}

.ghost-btn.dark:hover {
  background: #fff7ed;
}

.hero-poster {
  flex: 0 0 min(330px, 32vw);
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, 0.20);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.38);
  transform: rotate(2deg);
}

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

.hero-poster span {
  display: block;
  color: #9a3412;
  background: #fff;
  padding: 16px;
  font-weight: 900;
  text-align: center;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

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

.hero-dot.active {
  width: 34px;
  background: #fff;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 40px 0 26px;
}

.service-row div,
.feature-card,
.movie-card,
.category-card,
.detail-side,
.detail-article,
.ranking-row,
.filter-panel,
.video-shell {
  background: var(--card);
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.service-row div {
  padding: 24px;
}

.service-row strong {
  display: block;
  color: #9a3412;
  font-size: 22px;
}

.service-row span {
  color: var(--muted);
}

.section {
  padding: 64px 0;
}

.band-section {
  background: linear-gradient(90deg, rgba(254, 243, 199, 0.86), rgba(255, 237, 213, 0.86));
}

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

.section-head h2,
.ranking-box h2,
.detail-article h2,
.detail-side h2,
.player-section h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-head p,
.ranking-box p {
  margin: 7px 0 0;
  color: var(--muted);
}

.section-head a,
.text-link,
.full-link {
  color: var(--orange);
  font-weight: 900;
}

.movie-grid {
  display: grid;
  gap: 20px;
}

.six-col {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.movie-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(154, 52, 18, 0.20);
}

.movie-card .poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #fed7aa, #f59e0b);
}

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

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

.rating {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.movie-info {
  padding: 14px;
}

.movie-info h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.compact .movie-info h3 {
  font-size: 15px;
}

.meta-line,
.desc {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  margin-top: 12px;
}

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

.feature-card {
  min-height: 190px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(154, 52, 18, 0.18);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  font-weight: 900;
}

.feature-card strong {
  display: block;
  margin-top: 18px;
  font-size: 22px;
}

.feature-card em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
}

.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.ranking-box {
  position: sticky;
  top: 104px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff7ed, #ffffff);
  padding: 24px;
  box-shadow: var(--shadow);
}

.rank-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.rank-item {
  display: grid;
  grid-template-columns: 32px 58px 1fr;
  gap: 10px;
  align-items: center;
}

.rank-num,
.ranking-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  font-weight: 900;
}

.rank-item img {
  width: 58px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.full-link {
  display: inline-block;
  margin-top: 22px;
}

.page-main {
  min-height: 60vh;
}

.page-hero,
.ranking-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, #fb923c, #f59e0b 44%, #ea580c);
}

.compact-hero {
  padding: 90px 0;
}

.compact-hero p {
  color: rgba(255, 255, 255, 0.92);
}

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

.category-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 18px;
}

.category-image {
  overflow: hidden;
  border-radius: 18px;
  background: #fed7aa;
}

.category-image img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.category-card h2 {
  margin: 0;
  font-size: 26px;
}

.category-card p {
  color: var(--muted);
}

.category-card ul,
.site-footer ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.category-card li,
.site-footer li {
  margin-top: 7px;
}

.filter-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
}

.filter-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.filter-line strong {
  min-width: 42px;
  color: #9a3412;
}

.filter-line button {
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: #9a3412;
  background: #fff7ed;
  padding: 7px 12px;
  cursor: pointer;
}

.filter-line button.active {
  color: #fff;
  background: linear-gradient(90deg, #f97316, #f59e0b);
}

.search-status {
  min-height: 26px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.ranking-hero {
  min-height: 390px;
}

.ranking-hero-cover,
.detail-bg-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(124, 45, 18, 0.92), rgba(234, 88, 12, 0.70), rgba(15, 23, 42, 0.50));
}

.ranking-hero-content {
  position: relative;
  padding: 88px 0;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 48px 92px minmax(0, 1fr) 130px;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.ranking-poster img {
  width: 92px;
  height: 122px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-content h2 {
  margin: 0;
  font-size: 22px;
}

.ranking-content p {
  margin: 8px 0 0;
  color: var(--muted);
}

.ranking-score {
  text-align: right;
}

.ranking-score strong {
  display: block;
  color: var(--orange);
  font-size: 32px;
}

.ranking-score span {
  color: var(--muted);
  font-size: 13px;
}

.detail-hero {
  min-height: 560px;
}

.detail-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 80px 0;
}

.detail-poster {
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.35);
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.detail-meta {
  margin-top: 22px;
}

.tag-row.large span {
  font-size: 13px;
  padding: 8px 12px;
}

.player-section h2 {
  margin-bottom: 20px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  background: #111827;
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  background: #111827;
  object-fit: contain;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.52));
  cursor: pointer;
}

.play-layer span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
  font-size: 34px;
}

.video-shell.ready .play-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.detail-article,
.detail-side {
  padding: 28px;
}

.detail-article p {
  margin: 14px 0 28px;
  color: #374151;
  font-size: 17px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  margin: 18px 0 0;
}

.detail-side dt {
  color: #9a3412;
  font-weight: 900;
}

.detail-side dd {
  margin: 0;
  color: #374151;
}

.site-footer {
  color: #fffbeb;
  background: linear-gradient(135deg, #78350f, #9a3412 58%, #7c2d12);
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .footer-icon {
  color: var(--orange);
  background: #fff7ed;
}

.footer-brand strong {
  color: #fff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-brand p,
.footer-text,
.site-footer li,
.site-footer a {
  color: #fed7aa;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffedd5;
  font-size: 18px;
}

.footer-bottom {
  margin-top: 38px;
  border-top: 1px solid rgba(254, 215, 170, 0.20);
  color: #fed7aa;
  padding: 18px;
  text-align: center;
}

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

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

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

  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 820px) {
  .hero-content,
  .detail-hero-inner,
  .split-inner,
  .detail-content-grid,
  .footer-grid,
  .category-grid,
  .category-card {
    grid-template-columns: 1fr;
  }

  .hero-content {
    display: grid;
    gap: 28px;
    padding: 70px 0 88px;
  }

  .hero-poster {
    width: min(260px, 72vw);
    flex-basis: auto;
  }

  .service-row,
  .four-col,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ranking-row {
    grid-template-columns: 42px 78px 1fr;
  }

  .ranking-score {
    grid-column: 3;
    text-align: left;
  }

  .detail-hero-inner {
    padding: 54px 0;
  }

  .detail-poster {
    width: min(280px, 78vw);
  }

  .category-image img {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .brand-text strong {
    font-size: 20px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

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

  .hero h1,
  .page-hero h1,
  .ranking-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

  .hero p,
  .page-hero p,
  .ranking-hero p,
  .detail-one-line {
    font-size: 17px;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    display: block;
  }

  .section-head a {
    display: inline-block;
    margin-top: 12px;
  }

  .service-row,
  .six-col,
  .four-col,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .movie-info {
    padding: 11px;
  }

  .movie-info h3 {
    font-size: 15px;
  }

  .desc {
    display: none;
  }

  .ranking-row {
    grid-template-columns: 34px 68px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .ranking-poster img {
    width: 68px;
    height: 92px;
  }

  .ranking-content h2 {
    font-size: 17px;
  }

  .detail-article,
  .detail-side,
  .filter-panel {
    padding: 18px;
  }

  .play-layer span {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
