:root {
  --bg: #fffaf0;
  --surface: #ffffff;
  --surface-soft: #fff7e6;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #eadfd1;
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --accent: #d97706;
  --accent-soft: #fef3c7;
  --danger: #e11d48;
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
  --radius: 24px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1280px;
  height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark,
.footer-logo span {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #4f46e5);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.32);
}

.brand:hover .brand-mark {
  transform: scale(1.08);
}

.brand-mark {
  transition: transform 0.2s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 24px;
  color: #111827;
}

.brand-text em {
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  color: #374151;
}

.desktop-nav > a,
.nav-drop > a {
  padding: 28px 0;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-drop:hover > a {
  color: var(--accent);
}

.nav-drop {
  position: relative;
}

.nav-drop-panel {
  position: absolute;
  left: -24px;
  top: 68px;
  width: 420px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-drop-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
}

.nav-drop-panel a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-drop:hover .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
  min-width: 280px;
}

.header-search input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  background: transparent;
}

.header-search button {
  border: 0;
  height: 100%;
  padding: 0 18px;
  color: #ffffff;
  font-weight: 800;
  background: var(--accent);
  cursor: pointer;
}

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

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #111827;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 22px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-weight: 700;
  border-bottom: 1px solid #f3eadf;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  color: #ffffff;
  background: #1f2937;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 158, 11, 0.75), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(37, 99, 235, 0.5), transparent 26%),
    linear-gradient(135deg, #7c2d12 0%, #92400e 38%, #111827 100%);
}

.hero-track {
  position: relative;
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  padding: 72px 24px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 62px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.52), rgba(17, 24, 39, 0.78)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
  opacity: 0.42;
}

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

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: #fbbf24;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-summary {
  margin: 24px 0 0;
  max-width: 760px;
  color: #fffbeb;
  font-size: 20px;
  line-height: 1.85;
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

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

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

.primary-btn {
  color: var(--accent);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

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

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.ghost-btn.dark {
  color: #ffffff;
  background: rgba(17, 24, 39, 0.26);
}

.hero-poster {
  display: block;
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #f59e0b, #1d4ed8);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

.hero-poster img,
.detail-poster img,
.poster-wrap img,
.ranking-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-controls > button,
.hero-dots button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  font-size: 30px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
  width: 28px;
  background: #ffffff;
}

.quick-strip {
  max-width: 1180px;
  margin: -44px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-strip a {
  min-height: 110px;
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(245, 158, 11, 0.16);
}

.quick-strip strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.quick-strip span {
  color: var(--muted);
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px 0;
}

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

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

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.8;
}

.section-link {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 900;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card {
  min-height: 190px;
  padding: 24px;
}

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

.category-icon,
.category-main span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b, #2563eb);
}

.category-card strong,
.category-main h2 {
  display: block;
  margin: 0 0 8px;
  font-size: 22px;
}

.category-card em,
.category-main p {
  display: block;
  color: var(--muted);
  line-height: 1.65;
  font-style: normal;
}

.category-card small {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  color: var(--accent);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.movie-grid.wide,
.search-grid,
.category-list {
  grid-template-columns: repeat(5, 1fr);
}

.movie-card {
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-wrap,
.ranking-poster,
.detail-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #f59e0b, #2563eb);
}

.poster-wrap {
  aspect-ratio: 3 / 4;
}

.poster-wrap::after,
.hero-poster::after,
.detail-poster::after,
.ranking-poster::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(37, 99, 235, 0.88));
}

.poster-wrap.is-empty::after,
.hero-poster.is-empty::after,
.detail-poster.is-empty::after,
.ranking-poster.is-empty::after {
  display: flex;
}

img.is-hidden {
  opacity: 0;
}

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

.rank-badge,
.ranking-poster b {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.28);
}

.card-body {
  padding: 16px;
}

.card-title {
  display: block;
  min-height: 48px;
  color: #111827;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.45;
}

.card-title:hover {
  color: var(--accent);
}

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

.card-desc {
  min-height: 42px;
}

.card-tags {
  margin-top: 12px;
}

.card-tags span {
  color: var(--accent);
  background: var(--accent-soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.ranking-panel,
.meta-panel,
.side-link-panel,
.text-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.ranking-panel {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.panel-title h2 {
  margin: 0;
  font-size: 24px;
}

.panel-title a {
  color: var(--accent);
  font-weight: 900;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #fffaf0;
}

.rank-row:hover {
  background: var(--accent-soft);
}

.rank-row b {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--accent);
}

.rank-row span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 900;
}

.rank-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.62), transparent 28%),
    linear-gradient(135deg, #7c2d12, #1f2937);
}

.page-hero.small {
  min-height: 320px;
  display: flex;
  align-items: center;
}

.page-hero > div {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 24px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -0.05em;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #fffbeb;
  font-size: 19px;
  line-height: 1.8;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
  gap: 14px;
  padding: 18px;
  margin-bottom: 30px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.filter-bar input,
.filter-bar select {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  outline: 0;
  background: #fffaf0;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

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

.category-main {
  display: block;
  padding: 26px;
}

.category-samples {
  display: grid;
  gap: 8px;
  padding: 0 26px 26px;
}

.category-samples a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  background: #fffaf0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-samples a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-poster {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

.ranking-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ranking-title {
  font-size: 24px;
  font-weight: 900;
}

.ranking-title:hover {
  color: var(--accent);
}

.ranking-info p,
.ranking-info em {
  color: var(--muted);
  line-height: 1.7;
  font-style: normal;
}

.ranking-info span {
  display: inline-flex;
  width: max-content;
  margin: 4px 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 900;
}

.detail-hero {
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.62), rgba(17, 24, 39, 0.9)),
    var(--detail-image);
  background-size: cover;
  background-position: center;
}

.detail-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 24px 66px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #fde68a;
  margin-bottom: 34px;
  font-weight: 800;
}

.breadcrumb strong {
  color: #ffffff;
}

.detail-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.35);
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-line {
  max-width: 820px;
  margin: 22px 0 0;
  color: #fffbeb;
  font-size: 20px;
  line-height: 1.8;
}

.detail-tags {
  margin-top: 26px;
}

.player-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #030712;
  box-shadow: 0 34px 80px rgba(17, 24, 39, 0.28);
  aspect-ratio: 16 / 9;
}

.stream-player {
  width: 100%;
  height: 100%;
  background: #030712;
  display: block;
}

.play-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), rgba(3, 7, 18, 0.38));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-cover span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  position: relative;
}

.play-cover span::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 24px;
  border-left: 24px solid var(--accent);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

.play-cover strong {
  font-size: 20px;
  letter-spacing: 0.1em;
}

.video-shell.is-playing .play-cover {
  opacity: 0;
  visibility: hidden;
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.text-panel,
.meta-panel,
.side-link-panel {
  padding: 28px;
}

.text-panel h2,
.meta-panel h2,
.side-link-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.text-panel p {
  color: #374151;
  line-height: 2;
  font-size: 17px;
  margin: 0 0 14px;
}

.detail-side {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 20px;
}

.meta-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.meta-panel li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #f3eadf;
}

.meta-panel span {
  color: var(--muted);
}

.meta-panel strong {
  text-align: right;
}

.side-link-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  margin-top: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 900;
}

.site-footer {
  margin-top: 80px;
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-logo strong {
  font-size: 24px;
}

.footer-brand p,
.footer-note p {
  color: #9ca3af;
  line-height: 1.8;
}

.footer-links h2,
.footer-note h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

.footer-links a {
  display: block;
  margin: 10px 0;
  color: #d1d5db;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 22px 24px;
  color: #9ca3af;
  font-size: 14px;
}

[data-card].is-hidden {
  display: none;
}

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

  .movie-grid,
  .movie-grid.wide,
  .search-grid,
  .category-list {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
  }
}

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

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

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

  .header-inner {
    height: 72px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text em {
    display: none;
  }

  .hero,
  .hero-track {
    min-height: 820px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 44px;
  }

  .hero-poster {
    max-width: 260px;
    justify-self: center;
    transform: rotate(0);
  }

  .quick-strip,
  .split-section,
  .detail-content,
  .footer-inner,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .detail-side {
    position: static;
  }

  .movie-grid,
  .movie-grid.wide,
  .search-grid,
  .category-list {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .header-inner {
    padding: 0 16px;
  }

  .brand-mark,
  .footer-logo span {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

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

  .hero,
  .hero-track {
    min-height: 780px;
  }

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

  .hero-summary,
  .detail-line,
  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions,
  .detail-actions {
    flex-direction: column;
  }

  .quick-strip,
  .content-section,
  .player-section,
  .detail-hero-inner,
  .page-hero > div {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quick-strip,
  .category-grid,
  .overview-grid,
  .movie-grid,
  .movie-grid.wide,
  .search-grid,
  .category-list {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .quick-strip {
    margin-top: 22px;
  }

  .quick-strip a {
    min-height: 96px;
    padding: 18px;
  }

  .quick-strip a:first-child {
    grid-column: span 2;
  }

  .section-heading {
    display: block;
  }

  .section-link {
    display: inline-flex;
    margin-top: 12px;
  }

  .card-body {
    padding: 12px;
  }

  .card-title {
    min-height: 44px;
    font-size: 15px;
  }

  .card-desc {
    display: none;
  }

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

  .ranking-title {
    font-size: 18px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

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

  .video-shell {
    border-radius: 18px;
  }

  .text-panel,
  .meta-panel,
  .side-link-panel {
    padding: 20px;
  }
}
