:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --amber: #f59e0b;
  --orange: #ea580c;
  --blue: #2563eb;
  --green: #16a34a;
  --purple: #7c3aed;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

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: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #111827;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

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

.top-search {
  display: flex;
  align-items: center;
  width: min(320px, 28vw);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.top-search input {
  min-width: 0;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.top-search button,
.hero-search button,
.filter-bar button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-search button {
  padding: 8px 14px;
  white-space: nowrap;
}

.top-search button:hover,
.hero-search button:hover,
.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.35);
}

.menu-toggle {
  display: none;
  border: 0;
  background: #fff7ed;
  color: var(--orange);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.mobile-panel.open {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-panel a {
  padding: 11px 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: radial-gradient(circle at 20% 15%, rgba(245, 158, 11, 0.25), transparent 32%), linear-gradient(135deg, #0f172a 0%, #111827 48%, #1f2937 100%);
  color: #ffffff;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.8) 1px, transparent 0);
  background-size: 32px 32px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0 96px;
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.soft-pill,
.hero-label,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-title-block h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, #fde68a, #fb923c, #fef3c7);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-title-block p {
  max-width: 640px;
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.hero-search {
  display: flex;
  width: min(600px, 100%);
  margin-bottom: 18px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 14px 18px;
  background: transparent;
  color: #ffffff;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.hero-search button {
  padding: 0 24px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips a {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 14px;
  transition: 0.2s ease;
}

.hero-chips a:hover {
  border-color: rgba(251, 191, 36, 0.6);
  color: #fde68a;
  transform: translateY(-2px);
}

.hero-slider {
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateX(22px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.05)), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.hero-media {
  position: relative;
  display: block;
  height: 330px;
  margin: 22px 22px 0;
  overflow: hidden;
  border-radius: 24px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.hero-slide:hover .hero-media img {
  transform: scale(1.05);
}

.hero-copy {
  position: relative;
  padding: 28px;
}

.hero-copy h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.08;
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
}

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

.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s ease;
}

.primary-btn {
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
}

.ghost-btn {
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.ghost-btn:hover {
  border-color: #fde68a;
  color: #fde68a;
}

.hero-dots {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

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

.hero-dot.active {
  width: 28px;
  background: #fbbf24;
}

.content-section {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.soft-bg {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1280px) / 2));
  padding-right: max(16px, calc((100% - 1280px) / 2));
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

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

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-kicker {
  background: #fff7ed;
  color: var(--orange);
}

.section-more {
  padding: 11px 18px;
  background: #ffffff;
  color: var(--orange);
  box-shadow: var(--soft-shadow);
}

.section-more:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

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

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

.poster-card,
.wide-card,
.rank-item {
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-card {
  display: block;
  overflow: hidden;
  border-radius: 22px;
}

.poster-card:hover,
.wide-card:hover,
.rank-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

.featured-grid .poster-image,
.compact-grid .poster-image {
  aspect-ratio: 16 / 10;
}

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

.poster-card:hover .poster-image img {
  transform: scale(1.07);
}

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.poster-content {
  display: block;
  padding: 16px;
}

.poster-content strong,
.wide-body strong,
.rank-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.poster-content em,
.wide-body em,
.rank-copy em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.poster-content small,
.rank-copy small {
  display: block;
  margin-top: 12px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

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

.wide-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 190px;
  overflow: hidden;
  border-radius: 24px;
}

.wide-poster {
  overflow: hidden;
  background: #e2e8f0;
}

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

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

.wide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.tag-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row i,
.tag-cloud a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.list-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 35%), linear-gradient(135deg, #111827, #1e293b);
  color: #ffffff;
}

.list-hero-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 64px;
}

.list-hero h1 {
  margin: 14px 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.list-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  padding: 12px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.filter-bar input,
.filter-bar select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  background: #f8fafc;
  color: var(--ink);
}

.filter-bar input {
  flex: 1;
  padding: 14px 16px;
}

.filter-bar select {
  width: 180px;
  padding: 0 14px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 62px 86px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 14px;
  border-radius: 22px;
}

.rank-num {
  color: var(--orange);
  font-size: 26px;
  font-weight: 1000;
  letter-spacing: -0.06em;
  text-align: center;
}

.rank-thumb {
  display: block;
  overflow: hidden;
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: #e2e8f0;
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero {
  background: radial-gradient(circle at 15% 0%, rgba(245, 158, 11, 0.22), transparent 35%), linear-gradient(135deg, #020617, #111827 58%, #1e293b);
  color: #ffffff;
}

.detail-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a {
  color: #fcd34d;
}

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

.player-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.video-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.62));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  font-size: 34px;
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.35);
}

.video-stage.is-playing .play-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-side {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

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

.detail-side-copy {
  padding: 22px;
}

.detail-side-copy p {
  margin: 0 0 10px;
  color: #fcd34d;
  font-weight: 900;
}

.detail-side-copy h1 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.detail-side-copy span {
  color: #cbd5e1;
}

.detail-content {
  padding-top: 48px;
}

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

.article-card,
.info-card {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.article-card {
  padding: clamp(24px, 4vw, 42px);
}

.article-card h2 {
  margin: 14px 0 16px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.article-card h3 {
  margin: 28px 0 12px;
  font-size: 22px;
}

.article-card p {
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
}

.lead-text {
  color: #0f172a !important;
  font-size: 20px !important;
  font-weight: 800;
}

.info-card {
  position: sticky;
  top: 92px;
  padding: 26px;
}

.info-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.info-card dl {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px 16px;
  margin: 0;
}

.info-card dt {
  color: #94a3b8;
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  color: #334155;
  font-weight: 700;
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.footer-brand {
  color: #ffffff;
}

.footer-inner p {
  max-width: 760px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.movie-card.is-hidden {
  display: none;
}

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

  .hero-inner,
  .detail-grid,
  .detail-main {
    grid-template-columns: 1fr;
  }

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

  .detail-side {
    display: grid;
    grid-template-columns: 180px 1fr;
  }

  .detail-side img {
    height: 100%;
  }

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

  .wide-list,
  .ranking-list {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-inner {
    padding-top: 58px;
  }

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

  .wide-card {
    grid-template-columns: 150px 1fr;
  }

  .filter-bar {
    flex-direction: column;
  }

  .filter-bar select {
    width: 100%;
    height: 48px;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    height: 62px;
  }

  .brand {
    font-size: 17px;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-inner {
    gap: 30px;
    padding: 44px 0 58px;
  }

  .hero-title-block h1 {
    font-size: 42px;
  }

  .hero-search {
    flex-direction: column;
    border-radius: 20px;
  }

  .hero-search button {
    min-height: 46px;
  }

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

  .hero-media {
    height: 230px;
    margin: 14px 14px 0;
    border-radius: 18px;
  }

  .hero-copy {
    padding: 20px;
  }

  .hero-copy h2 {
    font-size: 28px;
  }

  .content-section,
  .list-hero-inner,
  .detail-shell,
  .footer-inner {
    width: min(100% - 24px, 1280px);
  }

  .content-section {
    padding: 46px 0;
  }

  .soft-bg {
    padding-left: 12px;
    padding-right: 12px;
  }

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

  .poster-grid,
  .featured-grid,
  .archive-grid {
    gap: 14px;
  }

  .poster-content {
    padding: 12px;
  }

  .poster-content strong {
    font-size: 15px;
  }

  .poster-content em {
    font-size: 13px;
  }

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

  .wide-poster {
    aspect-ratio: 16 / 10;
  }

  .rank-item {
    grid-template-columns: 46px 72px 1fr;
    gap: 10px;
  }

  .rank-thumb {
    width: 72px;
    height: 72px;
  }

  .rank-num {
    font-size: 21px;
  }

  .detail-side {
    grid-template-columns: 120px 1fr;
  }

  .detail-side-copy {
    padding: 16px;
  }

  .detail-side-copy h1 {
    font-size: 22px;
  }

  .article-card,
  .info-card {
    border-radius: 22px;
  }
}
