/* Generated static movie site styles. */
:root {
  --bg: #fffaf0;
  --paper: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(146, 64, 14, 0.14);
  --brand: #d97706;
  --brand-dark: #92400e;
  --brand-soft: #fef3c7;
  --accent: #f97316;
  --shadow: 0 18px 45px rgba(146, 64, 14, 0.16);
  --radius: 22px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #fff7ed 100%);
  min-height: 100vh;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 119, 6, 0.16);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner,
.section-block,
.quick-search,
.page-main,
.detail-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.3);
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  color: #4b5563;
}

.main-nav a {
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--brand-dark);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--brand-soft);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--brand-dark);
}

.hero-carousel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #fde68a, #fed7aa 40%, #111827 100%);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.52), rgba(17, 24, 39, 0.1)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.45), rgba(17, 24, 39, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  align-items: center;
  gap: 56px;
  color: white;
}

.hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.slim-hero .eyebrow,
.category-hero .eyebrow {
  color: #fbbf24;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 251, 235, 0.86);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.primary-btn,
.ghost-btn,
.search-form button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.28);
}

.primary-btn.small {
  min-height: 40px;
  padding: 0 18px;
}

.ghost-btn {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.ghost-btn.dark {
  color: var(--brand-dark);
  border-color: rgba(217, 119, 6, 0.25);
  background: rgba(255, 255, 255, 0.7);
}

.primary-btn:hover,
.ghost-btn:hover,
.search-form button:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.64);
  color: #fef3c7;
  font-weight: 900;
}

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 2rem;
  cursor: pointer;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dots button {
  width: 36px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fbbf24;
}

.quick-search,
.section-block,
.filter-panel,
.category-overview-grid,
.detail-hero,
.player-section,
.detail-content-grid,
.related-block {
  margin-top: 34px;
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.quick-search h2,
.section-title-row h2,
.page-hero h1,
.detail-info h1 {
  margin: 8px 0 0;
  color: #111827;
}

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

.search-form input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  color: var(--ink);
  background: white;
  outline: none;
}

.search-form button {
  color: white;
  background: var(--brand);
}

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

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

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

.category-tile {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border-radius: 22px;
  color: white;
  box-shadow: var(--shadow);
  isolation: isolate;
}

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

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.7));
  z-index: -1;
}

.category-tile span,
.category-tile small {
  position: absolute;
  left: 18px;
}

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

.category-tile small {
  bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.category-tile:hover img {
  transform: scale(1.08);
}

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

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

.movie-card {
  border: 1px solid rgba(217, 119, 6, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(146, 64, 14, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(146, 64, 14, 0.16);
}

.movie-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fde68a, #f97316);
}

.poster-wrap img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.poster-glow {
  position: absolute;
  inset: auto 14px 14px 14px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(18px);
}

.rank-badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.28);
}

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

.card-meta,
.card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.card-meta span,
.card-foot span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

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

.movie-card p {
  display: -webkit-box;
  min-height: 4.7em;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.58;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact .movie-card-link {
  grid-template-columns: 110px minmax(0, 1fr);
  grid-template-rows: auto;
}

.compact .poster-wrap img {
  height: 100%;
  min-height: 178px;
}

.compact .movie-card-body {
  padding: 14px;
}

.compact .tag-row {
  display: none;
}

.compact p {
  min-height: auto;
  -webkit-line-clamp: 2;
}

.page-main,
.detail-main {
  padding: 34px 0 60px;
}

.page-hero {
  border-radius: 30px;
  padding: 48px;
  color: white;
  background:
    radial-gradient(circle at 18% 10%, rgba(253, 230, 138, 0.5), transparent 36%),
    linear-gradient(135deg, #111827, #92400e 55%, #f97316);
  box-shadow: var(--shadow);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.filter-search label,
.filter-selects label {
  display: grid;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

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

.filter-status {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.no-top {
  margin-top: 24px;
}

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

.category-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.category-card-cover img {
  height: 100%;
  min-height: 286px;
  object-fit: cover;
}

.category-card-body {
  padding: 24px;
}

.category-card-body h2 {
  margin: 8px 0;
}

.category-card-body p {
  color: var(--muted);
  line-height: 1.7;
}

.category-card-body ul {
  padding: 0;
  margin: 16px 0 20px;
  list-style: none;
}

.category-card-body li + li {
  margin-top: 9px;
}

.category-card-body li a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #374151;
  font-weight: 800;
}

.category-card-body li span {
  color: var(--brand);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 45px rgba(17, 24, 39, 0.2);
}

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

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

.detail-one-line {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.detail-meta-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffbeb;
}

.detail-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.detail-meta-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--brand-dark);
}

.tag-row.large span {
  font-size: 0.9rem;
}

.player-section,
.content-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.source-label {
  padding: 8px 12px;
  border-radius: 999px;
  background: #111827;
  color: #fef3c7;
  font-weight: 900;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #111827;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: white;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.1), rgba(0, 0, 0, 0.52));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.play-overlay span {
  width: 74px;
  height: 74px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.35);
  font-size: 1.8rem;
}

.video-shell.is-playing .play-overlay,
.video-shell.is-ready .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  margin: 0;
  color: #fef3c7;
  font-size: 0.9rem;
  text-align: center;
}

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

.content-card h2 {
  margin-top: 0;
}

.content-card p {
  color: #4b5563;
  line-height: 1.92;
  margin-bottom: 0;
}

.site-footer {
  margin-top: 56px;
  padding: 38px 0;
  border-top: 1px solid rgba(217, 119, 6, 0.16);
  background: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1.2fr);
  gap: 28px;
}

.footer-inner p {
  color: var(--muted);
}

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

.footer-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-content,
  .quick-search,
  .detail-hero,
  .filter-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid,
  .detail-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-card-cover img {
    max-height: 240px;
  }
}

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

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

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

  .hero-content {
    align-items: end;
    padding-bottom: 84px;
  }

  .hero-copy p {
    font-size: 0.98rem;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search,
  .page-hero,
  .detail-hero,
  .player-section,
  .content-card {
    padding: 20px;
    border-radius: 22px;
  }

  .search-form,
  .filter-selects,
  .section-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid,
  .detail-content-grid,
  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .compact .movie-card-link {
    grid-template-columns: 108px minmax(0, 1fr);
  }
}
