/* Static movie website styles generated from the uploaded warm gradient visual system. */
:root {
  --honey-50: #fff8e7;
  --honey-100: #fff0d1;
  --honey-300: #ffd875;
  --honey-500: #d4a574;
  --honey-600: #c4954f;
  --honey-700: #a67c3e;
  --honey-900: #6a4c20;
  --flame-400: #ff8a50;
  --flame-500: #ff6b35;
  --flame-600: #f4511e;
  --flame-900: #bf360c;
  --phoenix-50: #fbe9e7;
  --phoenix-100: #ffccbc;
  --phoenix-500: #c1440e;
  --phoenix-600: #a13810;
  --phoenix-900: #5b1f0b;
  --ink-900: #171717;
  --ink-700: #3f3f46;
  --ink-500: #71717a;
  --line: rgba(106, 76, 32, 0.14);
  --paper: #ffffff;
  --shadow-soft: 0 16px 45px rgba(106, 76, 32, 0.16);
  --shadow-strong: 0 24px 80px rgba(191, 54, 12, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 216, 117, 0.26), transparent 28rem),
    linear-gradient(180deg, #fff8e7 0%, #fff 34rem, #fff8e7 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--honey-600), var(--flame-500), #f59e0b);
  box-shadow: 0 12px 32px rgba(106, 76, 32, 0.25);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  animation: flame-flicker 3s ease-in-out infinite;
}

@keyframes flame-flicker {
  0%, 100% { opacity: 1; transform: translateY(0) scale(1); }
  50% { opacity: 0.82; transform: translateY(-1px) scale(1.04); }
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

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

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

.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.top-search input {
  width: 220px;
  border: 0;
  outline: none;
  color: #fff;
  background: transparent;
  padding: 8px 8px 8px 14px;
}

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

.top-search button,
.primary-button,
.secondary-button,
.filter-button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
  border-radius: 999px;
}

.top-search button {
  padding: 8px 15px;
  color: var(--flame-900);
  background: #fff;
}

main {
  min-height: 70vh;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #1b0f0a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(255, 107, 53, 0.28), transparent 18rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(1200px, calc(100% - 32px));
  transform: translate(-50%, -48%);
  color: #fff;
}

.hero-copy {
  max-width: 680px;
  animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--honey-500), var(--flame-500));
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(255, 107, 53, 0.24);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-meta span {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  color: #fff;
  background: linear-gradient(90deg, var(--flame-500), var(--phoenix-500));
  box-shadow: 0 18px 40px rgba(193, 68, 14, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.secondary-button:hover,
.filter-button:hover {
  transform: translateY(-2px) scale(1.01);
}

.hero-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.44);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.68);
}

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

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

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

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

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

.section,
.detail-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.section.is-soft {
  width: 100%;
  max-width: none;
  padding: 64px max(16px, calc((100% - 1200px) / 2));
  background: linear-gradient(90deg, rgba(255, 240, 209, 0.92), rgba(255, 248, 231, 0.96), rgba(255, 204, 188, 0.56));
}

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

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin: 10px 0 0;
  color: var(--ink-500);
  line-height: 1.8;
}

.stats-grid,
.category-grid,
.movie-grid,
.info-grid,
.related-grid {
  display: grid;
  gap: 20px;
}

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

.stat-card,
.category-card,
.movie-card,
.detail-card,
.rank-panel,
.filter-panel,
.search-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.stat-card {
  padding: 24px;
}

.stat-card strong {
  display: block;
  color: var(--phoenix-500);
  font-size: 2.1rem;
  line-height: 1;
}

.stat-card span {
  color: var(--ink-500);
  font-weight: 700;
}

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

.category-card {
  position: relative;
  min-height: 188px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 136px;
  height: 136px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 216, 117, 0.4), rgba(255, 107, 53, 0.22));
}

.category-card:hover,
.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.category-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 1.26rem;
}

.category-card p {
  position: relative;
  z-index: 1;
  color: var(--ink-500);
  line-height: 1.7;
}

.category-card .count {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--phoenix-500);
  background: rgba(255, 204, 188, 0.36);
  font-weight: 900;
}

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

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--honey-100), var(--phoenix-100));
}

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

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

.poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--honey-600), var(--flame-500));
  font-size: 0.78rem;
  font-weight: 900;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-info {
  padding: 18px;
}

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

.movie-info h3 a:hover {
  color: var(--flame-600);
}

.movie-meta,
.movie-desc,
.card-foot,
.breadcrumb,
.detail-meta,
.search-count {
  color: var(--ink-500);
}

.movie-meta,
.card-foot {
  font-size: 0.88rem;
}

.movie-desc {
  min-height: 3.4em;
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag-row span,
.detail-tags span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--phoenix-500);
  background: rgba(255, 204, 188, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

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

.rank-panel {
  padding: 22px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 74px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: rgba(255, 240, 209, 0.72);
  transform: translateX(4px);
}

.rank-item img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  border-radius: 13px;
  background: var(--honey-100);
}

.rank-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink-500);
  font-weight: 900;
}

.rank-gold { background: linear-gradient(135deg, #f59e0b, var(--flame-500)); }
.rank-silver { background: linear-gradient(135deg, #9ca3af, #64748b); }
.rank-bronze { background: linear-gradient(135deg, #b45309, #78350f); }

.rank-text strong,
.rank-text small {
  display: block;
}

.rank-text small {
  margin-top: 6px;
  color: var(--ink-500);
  line-height: 1.5;
}

.rank-item em {
  color: var(--flame-600);
  font-style: normal;
  font-weight: 900;
}

.page-hero {
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 216, 117, 0.26), transparent 22rem),
    linear-gradient(135deg, var(--honey-900), var(--phoenix-900) 54%, var(--flame-900));
}

.page-hero-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
}

.filter-panel,
.search-panel {
  padding: 20px;
  margin-bottom: 28px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-row input,
.filter-row select,
.search-panel input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: #fff;
  padding: 0 16px;
}

.filter-row input {
  flex: 1 1 260px;
}

.filter-row select {
  flex: 0 1 170px;
}

.filter-button {
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--flame-500), var(--phoenix-500));
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #120906;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.38;
}

.detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(1.08);
  transform: scale(1.04);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 107, 53, 0.24), transparent 22rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.64));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 34px;
  padding: 60px 0;
}

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: var(--honey-100);
}

.detail-copy h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.76);
}

.breadcrumb a:hover {
  color: #fff;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.82);
}

.detail-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.detail-one-line {
  max-width: 760px;
  font-size: 1.13rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #060606;
  box-shadow: var(--shadow-strong);
}

.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 107, 53, 0.2), transparent 20rem),
    linear-gradient(135deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.68));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-start {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--flame-500), var(--phoenix-500));
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(193, 68, 14, 0.32);
}

.player-message {
  margin: 12px 0 0;
  color: var(--ink-500);
  line-height: 1.7;
}

.info-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: start;
}

.detail-card {
  padding: 26px;
}

.detail-card h2,
.detail-card h3 {
  margin-top: 0;
}

.detail-card p {
  color: var(--ink-700);
  line-height: 1.95;
}

.meta-table {
  display: grid;
  gap: 12px;
}

.meta-table div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.meta-table dt {
  color: var(--ink-500);
  font-weight: 800;
}

.meta-table dd {
  margin: 0;
}

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

.search-panel form {
  display: flex;
  gap: 12px;
}

.search-panel input {
  flex: 1 1 auto;
}

.search-result-list {
  display: grid;
  gap: 16px;
}

.search-result {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.search-result img {
  width: 96px;
  height: 126px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--honey-100);
}

.search-result h3 {
  margin: 0 0 8px;
}

.search-result p {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.7;
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, var(--honey-900), var(--phoenix-900), var(--flame-900));
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: 30px;
  padding: 48px 0;
}

.footer-logo {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 900;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.site-footer h3 {
  color: var(--honey-300);
}

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

.site-footer a:hover {
  color: #fff;
}

.hidden-by-filter {
  display: none !important;
}

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

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

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

  .detail-hero-inner,
  .info-grid,
  .rank-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 12px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px;
  }

  .hero-slider,
  .hero-slide img {
    min-height: 560px;
  }

  .hero-control {
    display: none;
  }

  .section,
  .detail-section {
    padding: 42px 0;
  }

  .section-head {
    display: block;
  }

  .movie-grid,
  .related-grid,
  .stats-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 34px 64px 1fr;
  }

  .rank-item em {
    display: none;
  }

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

  .search-panel form,
  .filter-row {
    flex-direction: column;
  }

  .filter-row input,
  .filter-row select,
  .filter-button {
    width: 100%;
  }

  .search-result {
    grid-template-columns: 76px 1fr;
  }

  .search-result img {
    width: 76px;
    height: 100px;
  }

  .search-result .primary-button {
    grid-column: 1 / -1;
    justify-content: center;
  }
}
