:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(148, 163, 184, 0.28);
  --brand: #d97706;
  --brand-dark: #92400e;
  --brand-soft: #fbbf24;
  --dark: #111827;
  --shadow: 0 22px 60px rgba(146, 64, 14, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.22), transparent 32rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 48%, #fffbeb 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(115deg, rgba(180, 83, 9, 0.96), rgba(217, 119, 6, 0.94), rgba(245, 158, 11, 0.94));
  box-shadow: 0 16px 40px rgba(120, 53, 15, 0.2);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #92400e;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: inset 0 -4px 0 rgba(245, 158, 11, 0.16);
}

.brand-text {
  font-size: 1.28rem;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #92400e;
  background: #ffffff;
}

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

.top-search input,
.mobile-search input,
.panel-search input,
.filter-bar input,
.filter-bar select {
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.3);
}

.top-search input {
  width: 190px;
}

.top-search button,
.mobile-search button,
.panel-search button,
.primary-button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 14px 30px rgba(234, 88, 12, 0.24);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-search button:hover,
.mobile-search button:hover,
.panel-search button:hover,
.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(234, 88, 12, 0.28);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #92400e;
  background: #ffffff;
  font-size: 1.45rem;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.65s ease, transform 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  width: min(680px, 92%);
  padding: clamp(30px, 5vw, 72px);
  color: #ffffff;
}

.hero-eyebrow,
.page-hero span,
.section-title span,
.panel-kicker,
.detail-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-eyebrow {
  color: #fef3c7;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 640px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: #92400e;
  background: #fffbeb;
  font-size: 0.82rem;
  font-weight: 800;
}

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

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #92400e;
  background: rgba(255, 255, 255, 0.9);
  font-size: 2rem;
  cursor: pointer;
  z-index: 5;
}

.hero-control.prev {
  left: 16px;
}

.hero-control.next {
  right: 16px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-rail,
.gradient-panel,
.category-card-large,
.movie-card,
.info-panel,
.ranking-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(251, 191, 36, 0.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-rail {
  padding: 22px;
  align-self: stretch;
}

.rail-list,
.rank-list {
  display: grid;
  gap: 12px;
}

.rank-item {
  display: grid;
  grid-template-columns: auto 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(146, 64, 14, 0.12);
}

.rank-item img {
  width: 64px;
  height: 86px;
  border-radius: 14px;
  object-fit: cover;
  background: #fef3c7;
}

.rank-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #fbbf24, #ea580c);
  font-weight: 900;
}

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

.rank-copy strong {
  color: #111827;
  line-height: 1.3;
}

.rank-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: normal;
}

.section-wrap,
.split-section,
.footer-grid,
.detail-layout,
.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.compact-section {
  padding-top: 0;
}

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

.section-title.slim {
  align-items: center;
  margin-bottom: 14px;
}

.section-title h2,
.page-hero h1,
.detail-article h1 {
  margin: 0;
  color: #111827;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-title h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.section-title a {
  color: var(--brand-dark);
  font-weight: 900;
}

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

.category-tile {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #d97706, #f59e0b 55%, #fbbf24);
  box-shadow: 0 18px 40px rgba(180, 83, 9, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-card-large:hover,
.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(146, 64, 14, 0.2);
}

.category-tile span {
  font-size: 1.15rem;
  font-weight: 900;
}

.category-tile strong {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

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

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #fef3c7;
}

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

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

.poster-shine {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.64));
}

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

.movie-meta {
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.movie-card h2 {
  margin: 8px 0 8px;
  color: #111827;
  font-size: 1.14rem;
  line-height: 1.32;
}

.movie-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 24px;
  padding-top: 72px;
}

.gradient-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(254, 243, 199, 0.46), transparent 18rem),
    linear-gradient(135deg, #92400e, #d97706 52%, #f59e0b);
}

.gradient-panel .panel-kicker {
  color: #92400e;
  background: #ffffff;
}

.gradient-panel h2 {
  margin: 0 0 26px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.panel-search input {
  width: min(100%, 330px);
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 0;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.4), transparent 20rem),
    linear-gradient(135deg, #111827, #78350f 50%, #d97706);
  box-shadow: var(--shadow);
}

.page-hero span {
  color: #92400e;
  background: #ffffff;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.category-card-large {
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-main-link span {
  color: var(--brand-dark);
  font-weight: 900;
}

.category-main-link h2 {
  margin: 10px 0 18px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-samples a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #fef3c7;
  font-size: 0.85rem;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(251, 191, 36, 0.26);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 38px rgba(146, 64, 14, 0.1);
}

.filter-bar input {
  flex: 1 1 280px;
  background: #ffffff;
}

.filter-bar select {
  min-width: 150px;
  background: #ffffff;
}

.ranking-wrap {
  display: grid;
  gap: 18px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
}

.ranking-poster {
  position: relative;
  display: block;
}

.ranking-poster span {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #fbbf24, #ea580c);
  border-radius: 12px;
  font-weight: 900;
}

.ranking-poster img {
  width: 132px;
  height: 176px;
  border-radius: 18px;
  object-fit: cover;
  background: #fef3c7;
}

.ranking-copy h2 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-top: 22px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 10px;
  align-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.38), rgba(17, 24, 39, 0.78));
  cursor: pointer;
}

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

.play-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #92400e;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  font-size: 1.9rem;
}

.player-overlay span:last-child {
  font-size: 1.05rem;
  font-weight: 900;
}

.detail-article,
.detail-aside {
  margin-top: 24px;
}

.detail-article {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.detail-article h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.detail-article h2 {
  margin: 30px 0 12px;
  color: #111827;
  font-size: 1.35rem;
}

.detail-article p {
  margin: 0;
  color: #374151;
}

.lead-text {
  margin: 16px 0 18px !important;
  color: #4b5563 !important;
  font-size: 1.12rem;
}

.tag-row.large {
  margin-top: 16px;
}

.detail-poster {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  background: #fef3c7;
  box-shadow: var(--shadow);
}

.info-panel {
  margin-top: 18px;
  padding: 22px;
}

.info-panel h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.info-panel dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.info-panel dt {
  color: var(--muted);
  font-weight: 800;
}

.info-panel dd {
  margin: 0;
  color: #111827;
}

.related-section {
  padding-top: 52px;
}

.site-footer {
  margin-top: 80px;
  padding: 54px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  background: #111827;
}

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

.footer-brand {
  color: #ffffff;
  font-size: 1.3rem;
}

.site-footer p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .top-search {
    display: none;
  }

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

  .hero-stage {
    min-height: 520px;
  }

  .hero-rail {
    display: none;
  }

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

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

  .detail-aside {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    min-height: 64px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

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

  .hero,
  .section-wrap,
  .split-section,
  .footer-grid,
  .detail-layout,
  .breadcrumb,
  .page-hero {
    width: min(100% - 22px, 1180px);
  }

  .hero-stage {
    min-height: 500px;
    border-radius: 24px;
  }

  .hero-content {
    padding: 28px;
  }

  .hero-control {
    display: none;
  }

  .section-title {
    align-items: start;
    flex-direction: column;
  }

  .category-grid,
  .movie-grid,
  .category-large-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .ranking-poster img {
    width: 96px;
    height: 132px;
  }

  .detail-aside {
    display: block;
  }

  .detail-poster {
    max-width: 260px;
  }

  .filter-bar.expanded {
    display: grid;
  }

  .mobile-search input {
    min-width: 0;
    flex: 1;
  }
}

@media (max-width: 460px) {
  .hero h1,
  .hero h2,
  .page-hero h1,
  .detail-article h1 {
    letter-spacing: -0.035em;
  }

  .hero-stage {
    min-height: 460px;
  }

  .hero-actions,
  .panel-search,
  .mobile-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .ghost-button,
  .panel-search button,
  .mobile-search button {
    text-align: center;
    width: 100%;
  }
}
