:root {
  color-scheme: light;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --orange: #f97316;
  --red: #ef4444;
  --yellow: #facc15;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --card: #ffffff;
  --footer: #111827;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 28%, #f8fafc 100%);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  min-width: 320px;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
  font-size: 14px;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
  background: #eff6ff;
}

.nav-link:hover {
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  width: 260px;
  flex: 0 0 auto;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-bar input {
  width: 100%;
  border: 1px solid #d1d5db;
  outline: none;
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  height: 42px;
  padding: 0 14px 0 38px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-weight: 700;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-bar input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #374151;
  background: #f3f4f6;
  cursor: pointer;
}

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

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

.mobile-search input {
  height: 44px;
  padding: 0 14px;
}

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

.mobile-nav-link,
.mobile-category-links a {
  padding: 11px 12px;
  border-radius: 12px;
  background: #f9fafb;
  color: #374151;
  font-weight: 600;
}

.mobile-nav-link.is-active {
  background: #eff6ff;
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 48%, #14b8a6 100%);
}

.hero-stage {
  position: relative;
  height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.02);
}

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

.hero-backdrop,
.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.hero-shade,
.detail-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(250, 204, 21, 0.28), transparent 24%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.45) 45%, rgba(15, 23, 42, 0.12));
}

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

.hero-content h1,
.hero-content h2 {
  max-width: 720px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hero-content p {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-tags,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-tags span,
.detail-meta span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

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

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

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

.btn-primary {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(255, 255, 255, 0.22);
}

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

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

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

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

.hero-rail {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  transform: translateX(-50%);
}

.hero-rail-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 10px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-rail-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.24);
}

.hero-rail-card img {
  width: 76px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-rail-card span {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.search-band {
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.search-band-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  padding: 28px 0;
}

.search-band h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

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

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

.big-search input {
  height: 52px;
  padding: 0 16px;
}

.big-search button {
  min-width: 108px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.section {
  padding: 64px 0;
}

.warm-section {
  background: linear-gradient(90deg, #fff7ed, #fff1f2);
}

.ranking-section {
  background: linear-gradient(135deg, #2563eb, #0f766e);
}

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

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.1;
}

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

.section-heading-light h2,
.section-heading-light p {
  color: #ffffff;
}

.section-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  font-size: 22px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.text-link:hover {
  color: var(--blue-dark);
}

.text-link.light {
  color: #ffffff;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-card-link {
  display: block;
  height: 100%;
}

.movie-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #ccfbf1);
}

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

.movie-card:hover .movie-cover img,
.horizontal-card:hover img,
.category-overview-card:hover img {
  transform: scale(1.06);
}

.movie-cover::after,
.horizontal-cover::after,
.category-overview-cover::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.66));
}

.movie-category,
.movie-duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.movie-category {
  left: 10px;
  top: 10px;
  background: rgba(37, 99, 235, 0.86);
}

.movie-duration {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.66);
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.movie-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  backdrop-filter: blur(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

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

.movie-card-body h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body p {
  min-height: 44px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.movie-tags span,
.detail-tags a {
  padding: 5px 9px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 700;
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: auto 184px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.horizontal-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #e5e7eb;
}

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

.horizontal-cover span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.horizontal-title {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
}

.horizontal-title:hover {
  color: var(--blue);
}

.horizontal-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.ranking-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.22);
}

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

.category-tile {
  min-height: 190px;
  padding: 24px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

.category-tile span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.category-tile h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.sub-hero {
  padding: 74px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 18%, rgba(20, 184, 166, 0.38), transparent 28%),
    linear-gradient(135deg, #1d4ed8, #0f766e);
}

.sub-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

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

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

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

.category-overview-grid {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-overview-cover {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

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

.category-overview-cover span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.88);
  font-weight: 900;
}

.category-overview-body {
  padding: 28px;
}

.category-overview-body h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.category-overview-body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.sample-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 700;
  font-size: 13px;
}

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

.filter-bar input {
  max-width: 560px;
  height: 50px;
  padding: 0 16px;
}

.filter-bar.compact input {
  max-width: none;
}

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

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: end;
  min-height: 460px;
  padding-top: 60px;
  padding-bottom: 46px;
}

.detail-cover-card {
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

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

.detail-title-block h1 {
  max-width: 900px;
  margin: 16px 0;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-title-block p {
  max-width: 850px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.75;
}

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

.detail-main,
.detail-sidebar {
  display: grid;
  gap: 24px;
}

.player-card,
.detail-panel,
.side-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-card {
  overflow: hidden;
}

.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.52));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  font-size: 30px;
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-panel {
  padding: 28px;
}

.detail-panel h2,
.side-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
}

.detail-panel p {
  margin: 0 0 24px;
  color: #374151;
  line-height: 1.88;
  font-size: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.info-grid div {
  padding: 14px;
  border-radius: 14px;
  background: #f9fafb;
}

.info-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.info-grid strong {
  color: var(--ink);
  font-size: 15px;
}

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

.side-card {
  padding: 22px;
}

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

.side-list .horizontal-card {
  grid-template-columns: 104px 1fr;
  padding: 10px;
  gap: 12px;
  box-shadow: none;
  border: 1px solid #eef2f7;
}

.side-list .ranking-number {
  display: none;
}

.side-list .horizontal-cover {
  grid-column: 1;
}

.side-list .horizontal-body p,
.side-list .movie-meta span:nth-child(n+3) {
  display: none;
}

.side-list .horizontal-title {
  font-size: 15px;
  line-height: 1.35;
}

.side-link {
  display: block;
  margin-top: 10px;
  padding: 13px 14px;
  border-radius: 14px;
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 800;
}

.side-link:hover {
  background: #dbeafe;
}

.full-ranking .horizontal-card {
  grid-template-columns: 58px 210px 1fr;
}

.site-footer {
  color: #d1d5db;
  background: var(--footer);
}

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

.brand-in-footer {
  color: #ffffff;
}

.footer-brand p,
.footer-group p {
  margin: 14px 0 0;
  color: #9ca3af;
  line-height: 1.75;
}

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

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

.footer-group a:hover {
  color: #60a5fa;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 14px;
}

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

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

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

  .search-band-inner,
  .detail-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

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

  .hero-rail-card:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 760px) {
  .container,
  .nav-shell,
  .mobile-nav,
  .footer-shell,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

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

  .hero,
  .hero-stage {
    min-height: 720px;
    height: 720px;
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 76px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-dots {
    bottom: 160px;
  }

  .hero-rail {
    bottom: 20px;
    grid-template-columns: 1fr;
  }

  .hero-rail-card:nth-child(n+2) {
    display: none;
  }

  .big-search,
  .filter-bar,
  .section-heading,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .three-col,
  .four-col,
  .category-grid,
  .detail-sidebar,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-card,
  .full-ranking .horizontal-card {
    grid-template-columns: 104px 1fr;
    gap: 12px;
  }

  .ranking-number {
    grid-column: 1 / -1;
    width: 100%;
    height: 34px;
    border-radius: 12px;
  }

  .horizontal-cover {
    width: 104px;
  }

  .horizontal-body p {
    display: none;
  }

  .category-overview-card,
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .detail-cover-card {
    width: 180px;
  }

  .section {
    padding: 46px 0;
  }

  .sub-hero {
    padding: 54px 0;
  }

  .detail-panel,
  .side-card {
    padding: 20px;
  }
}
