:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --orange: #f97316;
  --gold: #f59e0b;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, var(--bg) 320px, var(--bg) 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.28);
}

.brand-text {
  font-size: 24px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  background: #fee2e2;
}

.top-search {
  display: flex;
  align-items: center;
  width: min(360px, 30vw);
  border: 1px solid #fed7aa;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.12);
}

.top-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 11px 14px;
  background: transparent;
}

.top-search button,
.search-band button,
.search-page-form button {
  border: 0;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--orange), var(--red));
  padding: 11px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-search button:hover,
.search-band button:hover,
.search-page-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff1f2;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--red);
  border-radius: 4px;
}

.mobile-panel {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #374151;
  font-weight: 700;
}

.mobile-panel a:hover {
  color: var(--red);
  background: #fff1f2;
}

.mobile-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-top: 8px;
}

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

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 35%, rgba(249, 115, 22, 0.36), transparent 34%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(127, 29, 29, 0.78) 46%, rgba(17, 24, 39, 0.24) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.12) 42%, rgba(17, 24, 39, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 430px);
  align-items: center;
  gap: 64px;
  padding: 86px 0 110px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
}

.hero-desc {
  width: min(760px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

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

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

.hero-tags span,
.tag-row span,
.detail-tags a {
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.tag-row span,
.detail-tags a {
  color: var(--red);
  background: #fff1f2;
}

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

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 18px 36px rgba(220, 38, 38, 0.32);
}

.btn-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.btn-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.88);
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.36);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 0;
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.is-active {
  width: 36px;
  background: #fff;
}

.search-band,
.content-section,
.category-preview,
.detail-content,
.watch-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.search-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  margin-top: -48px;
  position: relative;
  z-index: 7;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.search-band h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 40px);
}

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

.search-band form,
.search-page-form {
  display: flex;
  overflow: hidden;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff;
}

.search-band input,
.search-page-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 15px 20px;
}

.search-page-form {
  width: min(720px, 100%);
  margin-top: 28px;
}

.content-section,
.category-preview {
  padding: 70px 0 0;
}

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

.section-heading h2,
.category-preview h2,
.detail-article h2,
.detail-side h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p,
.category-preview-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-heading > a,
.category-preview-head > a {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.22);
}

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

.category-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  border-radius: 24px;
  background: linear-gradient(135deg, #ef4444, #991b1b);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:nth-child(2n) {
  background: linear-gradient(135deg, #f97316, #be123c);
}

.category-card:nth-child(3n) {
  background: linear-gradient(135deg, #7c3aed, #b91c1c);
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(127, 29, 29, 0.25);
}

.category-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.category-card strong {
  position: relative;
  font-size: 24px;
}

.category-card em {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  font-size: 14px;
}

.category-card > span:last-child {
  position: relative;
  font-weight: 900;
}

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

.movie-grid-home,
.movie-grid-small {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.movie-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
  aspect-ratio: 4 / 3;
}

.movie-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .movie-cover img {
  transform: scale(1.1);
}

.cover-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.76), transparent 62%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .cover-shade {
  opacity: 1;
}

.play-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.88);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-type,
.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.rank-badge {
  left: auto;
  right: 12px;
  background: #111827;
}

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-info h3 a:hover {
  color: var(--red);
}

.movie-desc {
  height: 45px;
  margin: 0 0 12px;
  color: var(--muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 12px;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
}

.movie-card-compact .movie-info h3 {
  font-size: 15px;
}

.movie-card-compact .movie-desc {
  font-size: 13px;
}

.rank-section {
  margin-top: 80px;
  padding: 70px 0;
  color: #fff;
  background: linear-gradient(135deg, #991b1b, #dc2626 52%, #f97316);
}

.rank-section-flat {
  border-radius: 34px;
  width: min(1240px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
  padding: 42px;
}

.rank-section .section-heading {
  width: min(1240px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.rank-section-flat .section-heading {
  width: 100%;
}

.section-heading-light p,
.section-heading-light .section-kicker {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading-light > a {
  color: var(--red);
  background: #fff;
}

.rank-list {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rank-section-flat .rank-list {
  width: 100%;
}

.rank-item {
  display: grid;
  grid-template-columns: 58px 92px minmax(0, 1fr) 60px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.22);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--red);
  border-radius: 18px;
  background: #fff;
  font-size: 24px;
  font-weight: 950;
}

.rank-item img {
  width: 92px;
  height: 66px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-main {
  min-width: 0;
}

.rank-main strong,
.rank-main em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-main em {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-style: normal;
}

.rank-score {
  justify-self: end;
  color: #fde68a;
  font-size: 20px;
  font-weight: 950;
}

.page-main {
  padding-bottom: 70px;
}

.page-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 40px auto 0;
  padding: 64px;
  color: #fff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 24%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #991b1b, #dc2626 54%, #f97316);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

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

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.category-nav a {
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 13px;
  font-weight: 800;
}

.category-nav a.active,
.category-nav a:hover {
  color: var(--red);
  background: #fff;
}

.filter-box {
  margin-bottom: 24px;
}

.filter-box input {
  width: min(680px, 100%);
  border: 1px solid #fed7aa;
  outline: 0;
  padding: 15px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.08);
}

.detail-main {
  padding-bottom: 70px;
}

.detail-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-bg,
.detail-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(4px) saturate(1.1);
  transform: scale(1.06);
}

.detail-mask {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(127, 29, 29, 0.62), rgba(17, 24, 39, 0.32)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.18));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 78px;
}

.breadcrumb,
.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.breadcrumb:hover {
  color: #fff;
}

.detail-intro {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  margin-top: 44px;
}

.detail-poster {
  width: 330px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 32px;
  border: 8px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.42);
}

.detail-intro h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

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

.watch-section {
  margin-top: -62px;
  position: relative;
  z-index: 5;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #050505;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.28);
  aspect-ratio: 16 / 9;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: #fff;
  border: 0;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.22));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-size: 34px;
  box-shadow: 0 24px 48px rgba(220, 38, 38, 0.34);
}

.player-cover strong {
  max-width: 80%;
  font-size: clamp(24px, 4vw, 42px);
  text-align: center;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  padding-top: 58px;
}

.detail-article,
.detail-side {
  border-radius: 28px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.detail-article h2,
.detail-side h2 {
  font-size: 28px;
  margin-top: 0;
}

.detail-article p {
  color: #374151;
  font-size: 17px;
}

.detail-side ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.detail-side li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.detail-side span {
  color: var(--muted);
}

.detail-side strong {
  text-align: right;
}

.site-footer {
  margin-top: 90px;
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 42px;
  padding: 52px 0;
}

.brand-footer .brand-text {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.footer-brand p {
  max-width: 520px;
  color: #9ca3af;
}

.footer-links h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.footer-links div {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #d1d5db;
}

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

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

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

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-poster {
    display: none;
  }

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

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

@media (max-width: 860px) {
  .header-inner {
    min-height: 64px;
  }

  .main-nav {
    display: none;
  }

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

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

  .hero-content {
    padding-top: 70px;
    padding-bottom: 90px;
  }

  .hero-arrow {
    display: none;
  }

  .search-band {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .category-grid,
  .movie-grid,
  .movie-grid-home,
  .movie-grid-small,
  .rank-list,
  .footer-inner,
  .detail-content,
  .detail-intro {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(330px, 100%);
  }

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

  .page-hero {
    padding: 40px 24px;
  }

  .rank-section-flat {
    padding: 28px 18px;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 20px;
  }

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

  .hero-desc,
  .detail-one-line {
    font-size: 16px;
  }

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

  .rank-score {
    display: none;
  }

  .rank-number {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .rank-item img {
    width: 72px;
    height: 56px;
  }

  .content-section,
  .category-preview {
    padding-top: 48px;
  }

  .detail-wrap {
    padding-top: 28px;
  }
}
