:root {
  color-scheme: light;
  --color-frosting: #f06c25;
  --color-frosting-dark: #d95a1b;
  --color-dawn: #f97316;
  --color-dawn-soft: #ffedd5;
  --color-cream: #fef8f3;
  --color-cream-2: #fdf0e6;
  --color-ink: #111827;
  --color-muted: #667085;
  --color-line: #f3e5d8;
  --shadow-card: 0 18px 50px rgba(17, 24, 39, 0.10);
  --shadow-soft: 0 12px 36px rgba(240, 108, 37, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(240, 108, 37, 0.10), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--color-cream) 48%, #ffffff 100%);
  color: var(--color-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66));
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 36px rgba(17, 24, 39, 0.08);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink);
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-frosting), var(--color-dawn));
  box-shadow: var(--shadow-soft);
  transform: rotate(-6deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--color-frosting), var(--color-dawn));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text small {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 12px;
}

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

.nav-links a {
  position: relative;
  color: #344054;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-frosting), var(--color-dawn));
  transition: right 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--color-frosting-dark);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--color-cream-2);
  color: var(--color-frosting-dark);
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.mobile-menu a {
  display: block;
  padding: 13px 14px;
  border-radius: 14px;
  color: #344054;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a.is-active {
  background: var(--color-cream);
  color: var(--color-frosting-dark);
}

.page-shell {
  padding-top: 76px;
}

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

.hero-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background: #111827;
}

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

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

.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 5s ease;
}

.hero-slide.is-active .hero-slide__image {
  transform: scale(1);
}

.hero-slide__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.70) 42%, rgba(17, 24, 39, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.72) 0%, transparent 42%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 42px;
  padding-top: 80px;
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #fed7aa;
  font-weight: 700;
  font-size: 14px;
}

.hero-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.85;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-meta span,
.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  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-frosting), var(--color-dawn));
  box-shadow: 0 14px 34px rgba(240, 108, 37, 0.32);
}

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

.btn-light {
  color: var(--color-frosting-dark);
  background: #ffffff;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  justify-self: end;
  width: min(370px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 2 / 2.75;
  object-fit: cover;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.hero-panel__body {
  padding: 16px 4px 4px;
}

.hero-panel__body h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.hero-panel__body p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.hero-search {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  width: min(760px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 54px rgba(17, 24, 39, 0.18);
  backdrop-filter: blur(18px);
}

.hero-search input,
.filter-input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  color: var(--color-ink);
  font-size: 15px;
}

.hero-search input:focus,
.filter-input:focus {
  border-color: var(--color-frosting);
  box-shadow: 0 0 0 4px rgba(240, 108, 37, 0.12);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: calc((100% - min(1180px, calc(100% - 32px))) / 2);
  bottom: 118px;
  display: flex;
  gap: 10px;
}

.hero-control {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: calc((100% - min(1180px, calc(100% - 32px))) / 2);
  bottom: 124px;
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 28px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

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

.section {
  padding: 64px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(254, 248, 243, 0.92), rgba(255, 255, 255, 0.85));
}

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

.section-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--color-cream-2);
  color: var(--color-frosting-dark);
  font-size: 13px;
  font-weight: 800;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-lead {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(243, 229, 216, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 108, 37, 0.34);
  box-shadow: var(--shadow-card);
}

.movie-card__poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.movie-card__poster img {
  width: 100%;
  aspect-ratio: 2 / 2.85;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.movie-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.movie-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%) scale(0.86);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-frosting), var(--color-dawn));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card__body {
  padding: 14px;
}

.movie-card__meta {
  margin-bottom: 7px;
  color: var(--color-frosting-dark);
  font-size: 12px;
  font-weight: 800;
}

.movie-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-card__title a {
  color: var(--color-ink);
  text-decoration: none;
}

.movie-card__title a:hover {
  color: var(--color-frosting-dark);
}

.movie-card__desc {
  display: -webkit-box;
  min-height: 44px;
  margin: 8px 0 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.7;
}

.movie-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.movie-card__tags span {
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--color-cream);
  color: #7a3d1e;
  font-size: 11px;
  font-weight: 700;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(243, 229, 216, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(240, 108, 37, 0.18), transparent 170px),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.07);
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.category-card h2,
.category-card h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 24px;
  font-weight: 900;
}

.category-card p {
  margin: 12px 0 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.category-card__mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 22px;
}

.category-card__mini img {
  width: 100%;
  aspect-ratio: 2 / 2.8;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.page-hero {
  padding: 128px 0 58px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.22), transparent 360px),
    linear-gradient(135deg, #ffffff, var(--color-cream));
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.85;
}

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

.breadcrumb a {
  color: var(--color-frosting-dark);
  text-decoration: none;
  font-weight: 700;
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.05);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 76px 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-frosting), var(--color-dawn));
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}

.rank-item img {
  width: 86px;
  aspect-ratio: 2 / 2.8;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.rank-item h2,
.rank-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.rank-item h2 a,
.rank-item h3 a {
  color: var(--color-ink);
  text-decoration: none;
}

.rank-item p {
  margin: 7px 0 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.rank-meta {
  color: var(--color-frosting-dark);
  font-weight: 900;
  white-space: nowrap;
}

.detail-hero {
  padding: 118px 0 50px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62)),
    var(--detail-bg);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 2.85;
  object-fit: cover;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.detail-title {
  max-width: 860px;
  margin: 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-summary {
  max-width: 880px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.85;
}

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

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

.content-card {
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.content-card + .content-card {
  margin-top: 22px;
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 900;
}

.content-card p {
  margin: 0;
  color: #475467;
  line-height: 1.95;
  font-size: 16px;
}

.player-card {
  overflow: hidden;
  padding: 0;
  border-radius: 32px;
  background: #0f172a;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
  cursor: pointer;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.62));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-button {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-frosting), var(--color-dawn));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
  font-size: 30px;
  cursor: pointer;
}

.player-caption {
  padding: 20px 24px 24px;
  color: rgba(255, 255, 255, 0.84);
}

.player-caption h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.player-caption p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.side-card {
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.side-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
}

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

.info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f2eadf;
}

.info-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-row span:first-child {
  color: var(--color-muted);
}

.info-row span:last-child,
.info-row a {
  color: var(--color-ink);
  font-weight: 800;
  text-align: right;
  text-decoration: none;
}

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

.related-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.related-item img {
  width: 68px;
  aspect-ratio: 2 / 2.85;
  object-fit: cover;
  border-radius: 13px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.related-item strong {
  display: block;
  color: var(--color-ink);
  line-height: 1.35;
}

.related-item small {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
}

.text-page {
  max-width: 880px;
}

.text-page h2 {
  margin: 34px 0 12px;
  font-size: 26px;
  font-weight: 900;
}

.text-page p,
.text-page li {
  color: #475467;
  line-height: 1.95;
  font-size: 16px;
}

.text-page ul {
  padding-left: 1.2em;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--color-line);
  background: linear-gradient(180deg, #ffffff, var(--color-cream));
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(140px, 0.55fr));
  gap: 28px;
}

.footer-brand p {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.footer-col h2,
.footer-col h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 900;
}

.footer-col a {
  display: block;
  margin: 10px 0;
  color: var(--color-muted);
  text-decoration: none;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 13px;
}

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

.empty-state {
  display: none;
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  background: #ffffff;
  color: var(--color-muted);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

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

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

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-inner {
    height: 68px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .page-shell {
    padding-top: 68px;
  }

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

  .hero-slide__content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
    padding-top: 62px;
    padding-bottom: 140px;
  }

  .hero-panel {
    justify-self: start;
    max-width: 280px;
  }

  .hero-search {
    bottom: 24px;
    border-radius: 28px;
    flex-direction: column;
  }

  .hero-controls,
  .hero-dots {
    display: none;
  }

  .section {
    padding: 46px 0;
  }

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

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

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

  .rank-item {
    grid-template-columns: 52px 72px minmax(0, 1fr);
  }

  .rank-meta {
    grid-column: 3;
  }

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

  .detail-poster {
    width: min(260px, 80%);
  }

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

@media (max-width: 520px) {
  .container,
  .header-inner,
  .mobile-menu,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  .logo-text strong {
    font-size: 18px;
  }

  .hero-title,
  .detail-title {
    letter-spacing: -0.03em;
  }

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

  .movie-card__body {
    padding: 12px;
  }

  .movie-card__desc {
    display: none;
  }

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