:root {
  color-scheme: light;
  --bg: #fff7ed;
  --surface: #ffffff;
  --soft: #fff1e6;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(251, 146, 60, 0.22);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --pink: #ec4899;
  --yellow: #f59e0b;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 34rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #fff7ed 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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.88);
  border-bottom: 1px solid rgba(249, 115, 22, 0.16);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 24px;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--yellow));
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.2);
}

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

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

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link,
.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 14px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-dropdown:hover > a,
.nav-link.is-active,
.nav-dropdown > a.is-active {
  color: var(--orange-dark);
  background: #ffedd5;
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 220px;
  padding: 10px;
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 650;
}

.dropdown-panel a:hover {
  color: var(--orange-dark);
  background: #fff7ed;
}

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

.mobile-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #ffedd5;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange-dark);
}

.mobile-nav {
  display: none;
  padding: 10px 24px 22px;
  border-top: 1px solid rgba(249, 115, 22, 0.14);
  background: #ffffff;
}

.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: #4b5563;
  font-weight: 700;
}

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

.hero-carousel {
  position: relative;
  min-height: 520px;
  height: 70vh;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #fb923c, #ec4899);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 36%, rgba(245, 158, 11, 0.26), transparent 20rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.54) 45%, rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 76px 24px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.hero-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-content h1,
.hero-content h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 950;
}

.hero-content p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-meta span,
.detail-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.hero-meta span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn-primary,
.btn-ghost,
.home-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font-weight: 850;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary,
.home-search button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 18px 36px rgba(236, 72, 153, 0.22);
}

.btn-primary:hover,
.home-search button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 48px rgba(236, 72, 153, 0.3);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.22s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.quick-search {
  margin-top: -42px;
  position: relative;
  z-index: 4;
  padding: 0 24px;
}

.quick-search-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(249, 115, 22, 0.16);
}

.quick-search h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.quick-search p {
  margin: 0;
  color: var(--muted);
}

.home-search {
  display: flex;
  gap: 12px;
}

.home-search input,
.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 16px;
  padding: 0 15px;
  outline: none;
  background: #ffffff;
  color: var(--text);
  transition: border 0.22s ease, box-shadow 0.22s ease;
}

.home-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.category-strip {
  padding: 36px 24px 10px;
}

.category-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.category-strip a {
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #ffedd5;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease;
}

.category-strip a:hover {
  transform: translateY(-2px);
  background: #fed7aa;
}

.content-section,
.channel-preview {
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 24px;
}

.soft-bg {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.72), rgba(252, 231, 243, 0.72));
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.text-link {
  color: var(--orange-dark);
  font-weight: 850;
}

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

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

.movie-card {
  min-width: 0;
}

.movie-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(249, 115, 22, 0.14);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border 0.26s ease;
}

.movie-card > a:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.34);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
}

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fce7f3);
}

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

.movie-card > a:hover .poster-frame img,
.list-card > a:hover img {
  transform: scale(1.06);
}

.poster-year,
.poster-score {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.poster-year {
  left: 12px;
  background: rgba(15, 23, 42, 0.68);
}

.poster-score {
  right: 12px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.88);
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition: all 0.22s ease;
}

.movie-card > a:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  flex: 1;
}

.movie-card-body h3,
.movie-card-body h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.movie-card-body p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.movie-meta,
.list-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  min-height: 26px;
  color: var(--orange-dark);
  background: #ffedd5;
}

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

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

.big-ranking {
  max-width: 1180px;
  margin: 0 auto;
}

.list-card > a {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(249, 115, 22, 0.14);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.list-card > a:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.list-poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #fed7aa, #fce7f3);
}

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

.rank-number {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  font-weight: 950;
}

.list-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.list-body p {
  margin: 0 0 10px;
  color: #6b7280;
  line-height: 1.65;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 74px 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.48), transparent 28rem),
    linear-gradient(135deg, #ea580c, #db2777 56%, #f59e0b);
}

.compact-page-hero {
  min-height: 290px;
}

.page-hero > div {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 850;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

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

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

.category-card a {
  display: flex;
  min-height: 250px;
  padding: 28px;
  border-radius: 28px;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 84% 20%, rgba(236, 72, 153, 0.16), transparent 13rem),
    #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.16);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 950;
}

.category-card p {
  margin: 0;
  color: #6b7280;
  line-height: 1.75;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.category-samples span {
  display: inline-flex;
  min-height: auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #ffedd5;
  box-shadow: none;
  border: 0;
  font-size: 13px;
}

.category-card > a > span {
  color: var(--orange-dark);
  font-weight: 900;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.16);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.filter-title {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 950;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 14px;
}

.filter-controls label {
  display: grid;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 750;
}

.filter-item.is-hidden {
  display: none;
}

.detail-top {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: #ffffff;
  background: #111827;
}

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

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) scale(1.08);
  opacity: 0.42;
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.18));
}

.detail-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}

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

.breadcrumb a:hover {
  color: #fed7aa;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  background: linear-gradient(135deg, #fed7aa, #fce7f3);
}

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

.detail-info h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.04em;
}

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

.detail-meta {
  margin-top: 22px;
}

.detail-meta span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-tags {
  margin: 22px 0 30px;
}

.detail-main {
  max-width: 1100px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000000;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.55));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 20px 42px rgba(236, 72, 153, 0.32);
  font-size: 34px;
  text-indent: 5px;
}

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

.article-block {
  margin-top: 30px;
  padding: 30px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.14);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.article-block h2 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 950;
}

.article-block p {
  margin: 0;
  color: #374151;
  line-height: 2;
  font-size: 16px;
}

.related-section {
  margin-top: 42px;
}


.site-footer {
  margin-top: 36px;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.42), transparent 24rem),
    linear-gradient(135deg, #111827, #7c2d12 58%, #831843);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.35fr;
  gap: 40px;
}

.footer-logo .logo-text strong {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-logo .logo-text small {
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.footer-links h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 900;
}

.footer-link-grid {
  display: grid;
  gap: 10px;
}

.footer-link-grid a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-link-grid a:hover {
  color: #fed7aa;
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom p {
  margin: 0;
}

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

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

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

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

  .mobile-toggle {
    display: inline-flex;
  }

  .quick-search-inner,
  .detail-layout,
  .filter-controls {
    grid-template-columns: 1fr;
  }

  .homepage-ranking,
  .footer-inner,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    width: min(270px, 80vw);
  }

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

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

  .logo-mark {
    width: 40px;
    height: 40px;
  }

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

  .hero-carousel {
    height: auto;
    min-height: 620px;
  }

  .hero-content {
    padding: 72px 18px 94px;
  }

  .quick-search {
    margin-top: -30px;
    padding: 0 16px;
  }

  .home-search {
    flex-direction: column;
  }

  .content-section,
  .channel-preview,
  .soft-bg {
    padding: 42px 16px;
  }

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

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

  .movie-card-body h3,
  .movie-card-body h2 {
    font-size: 16px;
  }

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

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

  .list-card > a {
    grid-template-columns: 96px 1fr;
    gap: 12px;
  }

  .list-body h3 {
    font-size: 17px;
  }

  .list-body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .detail-inner {
    padding: 30px 16px 56px;
  }

  .article-block {
    padding: 22px;
  }
}
