:root {
  --color-primary: #f58b1f;
  --color-primary-dark: #e6751a;
  --color-primary-soft: #fef3e2;
  --color-secondary: #3a9d6c;
  --color-secondary-soft: #f0f9f4;
  --color-accent: #ea5e21;
  --color-text: #27272a;
  --color-muted: #71717a;
  --color-soft: #fafafa;
  --color-border: #e4e4e7;
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 20px -2px rgba(0, 0, 0, 0.1), 0 15px 30px -5px rgba(0, 0, 0, 0.08);
  --shadow-hard: 0 10px 40px -5px rgba(0, 0, 0, 0.2), 0 20px 50px -10px rgba(0, 0, 0, 0.15);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --header-height: 64px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-soft);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--color-text);
}

.brand-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 10px 24px rgba(245, 139, 31, 0.28);
  font-size: 13px;
}

.brand-text {
  font-size: 20px;
  letter-spacing: 0.02em;
}

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

.nav-link,
.mobile-link {
  color: #3f3f46;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--color-primary-dark);
}

.header-search {
  width: 306px;
  display: flex;
  align-items: center;
  border: 1px solid #d4d4d8;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(245, 139, 31, 0.16);
}

.header-search input,
.mobile-search input,
.big-search input,
.page-filter input,
.search-tools select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--color-text);
  background: transparent;
}

.header-search input {
  padding: 9px 12px 9px 18px;
}

.header-search button,
.mobile-search button,
.big-search button {
  border: 0;
  color: #ffffff;
  background: var(--color-primary);
  font-weight: 700;
  padding: 10px 16px;
  transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
  background: var(--color-primary-dark);
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--color-border);
  background: #ffffff;
}

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

.mobile-nav,
.mobile-search {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.mobile-nav {
  display: grid;
  gap: 12px;
  padding: 16px 0 8px;
}

.mobile-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.mobile-search input {
  padding: 10px 14px;
}

.hero-slider {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #18181b;
}

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

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

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(245, 139, 31, 0.25), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 110px;
  color: #ffffff;
}

.hero-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  color: var(--color-primary-soft);
  background: rgba(245, 139, 31, 0.18);
  border: 1px solid rgba(245, 139, 31, 0.36);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 760px;
  margin: 18px 0 14px;
  font-size: clamp(42px, 8vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.hero-tags span,
.tag-row span {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 14px 30px rgba(234, 94, 33, 0.25);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.btn-ghost.light {
  color: var(--color-text);
  background: #ffffff;
  border-color: var(--color-border);
}

.hero-search-card {
  position: absolute;
  right: max(16px, calc((100% - 1180px) / 2));
  bottom: 72px;
  z-index: 4;
  width: min(380px, calc(100% - 32px));
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-hard);
  backdrop-filter: blur(18px);
  color: #ffffff;
}

.hero-search-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.hero-search-card form,
.big-search {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff;
}

.hero-search-card input,
.big-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 16px;
}

.hero-search-card button {
  border: 0;
  color: #ffffff;
  background: var(--color-primary);
  padding: 0 18px;
  font-weight: 800;
}

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

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

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

.section {
  padding: 64px 0;
}

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

.section-heading h2,
.article-card h2,
.sidebar-card h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.section-more,
.breadcrumb,
.category-card-meta a,
.info-list a {
  color: var(--color-primary-dark);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e4e4e7;
}

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

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

.media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 55%);
}

.type-badge,
.card-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.type-badge {
  top: 10px;
  left: 10px;
  background: var(--color-primary);
}

.card-year {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.65);
}

.rank-badge {
  right: 10px;
  top: 10px;
  background: var(--color-accent);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.28;
}

.card-body h3 a {
  transition: color 0.2s ease;
}

.card-body h3 a:hover {
  color: var(--color-primary-dark);
}

.card-body p {
  min-height: 44px;
  margin: 0 0 12px;
  color: #52525b;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #71717a;
  font-size: 12px;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #a1a1aa;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
}

.category-band {
  width: min(1180px, calc(100% - 32px));
  border-radius: 32px;
  padding: 40px;
  background: linear-gradient(135deg, var(--color-secondary-soft), var(--color-primary-soft));
}

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

.category-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-tile span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
}

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 16px;
  z-index: 2;
  color: #ffffff;
}

.category-tile strong {
  bottom: 36px;
  font-size: 18px;
}

.category-tile em {
  bottom: 14px;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
}

.ranking-panel,
.sidebar-card,
.article-card {
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.ranking-panel {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 22px;
}

.compact-heading {
  margin-bottom: 18px;
}

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

.mini-movie {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 8px;
  background: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-movie:hover {
  background: var(--color-primary-soft);
  transform: translateX(3px);
}

.mini-cover {
  display: block;
  width: 86px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: #e4e4e7;
}

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

.mini-info strong,
.mini-info em {
  display: block;
}

.mini-info strong {
  font-size: 14px;
  line-height: 1.25;
}

.mini-info em {
  margin-top: 4px;
  color: #71717a;
  font-size: 12px;
  font-style: normal;
}

.mini-rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  padding: 72px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--color-accent), var(--color-primary));
}

.category-hero {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

.ranking-hero {
  background: linear-gradient(135deg, #18181b, var(--color-accent));
}

.search-hero {
  background: linear-gradient(135deg, var(--color-secondary), #18181b);
}

.page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.category-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-card-cover {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 140px;
  overflow: hidden;
  background: #e4e4e7;
}

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

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

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

.category-card-body p {
  margin: 0;
  color: #52525b;
}

.category-card-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: #71717a;
  font-size: 14px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border-radius: 999px;
  padding: 8px 14px;
  color: #3f3f46;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

.pill.is-active,
.pill:hover {
  color: #ffffff;
  background: var(--color-primary);
}

.page-filter,
.search-tools label {
  display: grid;
  gap: 6px;
  color: #71717a;
  font-size: 13px;
  font-weight: 800;
}

.page-filter input,
.search-tools select {
  min-width: 280px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #ffffff;
  padding: 11px 16px;
  box-shadow: var(--shadow-soft);
}

.page-filter.wide input {
  min-width: 360px;
}

.empty-state,
.result-count {
  color: #71717a;
  text-align: center;
}

.search-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.big-search {
  max-width: 720px;
  margin-top: 28px;
  box-shadow: var(--shadow-hard);
}

.big-search input {
  padding: 16px 18px;
}

.big-search button {
  min-width: 120px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #18181b;
}

.detail-bg,
.detail-mask {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.7);
  transform: scale(1.08);
}

.detail-mask {
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 139, 31, 0.28), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.44));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 36px 0 58px;
}

.breadcrumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb-row a:hover {
  color: #ffffff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.poster-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #27272a;
  box-shadow: var(--shadow-hard);
  aspect-ratio: 3 / 4;
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.05;
}

.detail-one-line {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.detail-meta span {
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
}

.detail-tags span {
  color: #ffffff;
  background: rgba(245, 139, 31, 0.32);
}

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

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

.player-section {
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  background: #000000;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(245, 139, 31, 0.26), rgba(0, 0, 0, 0.54));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 18px 42px rgba(234, 94, 33, 0.34);
  font-size: 26px;
}

.article-card,
.sidebar-card {
  padding: 24px;
}

.article-card h2,
.sidebar-card h2 {
  margin-top: 0;
  font-size: 24px;
}

.article-card p {
  margin: 0;
  color: #3f3f46;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

.info-list dt {
  color: #71717a;
  font-weight: 800;
}

.info-list dd {
  margin: 0;
}

.detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: grid;
  gap: 18px;
}

.side-link {
  display: block;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 10px;
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  font-weight: 800;
}

.related-section {
  padding: 20px 0 0;
}

.not-found {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px;
}

.not-found strong {
  color: var(--color-primary);
  font-size: 90px;
  line-height: 1;
}

.not-found h1 {
  margin: 12px 0;
  font-size: 34px;
}

.centered-actions {
  justify-content: center;
}

.site-footer {
  margin-top: 32px;
  color: #d4d4d8;
  background: #27272a;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding: 46px 0;
}

.footer-logo {
  color: #ffffff;
}

.footer-brand p {
  max-width: 420px;
  color: #a1a1aa;
  font-size: 14px;
}

.footer-col h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: #d4d4d8;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid #3f3f46;
  padding: 18px;
  text-align: center;
  color: #a1a1aa;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .two-column,
  .detail-main {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

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

  .hero-slider,
  .hero-content {
    min-height: 620px;
  }

  .hero-content {
    padding-bottom: 180px;
  }

  .hero-search-card {
    right: 16px;
    bottom: 62px;
  }

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

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

  .detail-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .poster-card {
    width: min(260px, 70vw);
  }

  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .page-filter input,
  .page-filter.wide input {
    min-width: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap,
  .header-inner,
  .mobile-nav,
  .mobile-search {
    width: min(100% - 24px, 1180px);
  }

  .brand-text {
    font-size: 18px;
  }

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

  .hero-content p {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  .hero-actions,
  .big-search,
  .search-tools {
    flex-direction: column;
  }

  .hero-search-card form,
  .big-search {
    border-radius: 18px;
  }

  .hero-search-card input,
  .hero-search-card button,
  .big-search input,
  .big-search button {
    width: 100%;
  }

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

  .category-band {
    width: min(100% - 24px, 1180px);
    padding: 24px;
  }

  .section-heading,
  .category-card-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-movie {
    grid-template-columns: 74px 1fr auto;
  }

  .mini-cover {
    width: 74px;
  }

  .info-list div {
    grid-template-columns: 1fr;
  }
}
