
:root {
  --pink: #ec4899;
  --purple: #9333ea;
  --blue: #3b82f6;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #fdf2f8;
  --line: #e5e7eb;
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 20px 45px rgba(147, 51, 234, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #fdf2f8 0%, #faf5ff 45%, #eff6ff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.header-ribbon,
.footer-ribbon {
  height: 4px;
  background: linear-gradient(90deg, #f472b6, #a855f7, #60a5fa);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--pink);
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
  border-radius: 999px;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-copy {
  display: grid;
}

.brand-copy strong,
.footer-brand {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #374151;
  font-weight: 600;
}

.nav-link {
  transition: color 0.2s ease, transform 0.2s ease;
}

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

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

.header-search,
.mobile-search,
.search-page-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search {
  width: min(280px, 24vw);
  padding: 9px 14px;
  border: 1px solid #f3d1e6;
  background: #fff;
  border-radius: 999px;
}

.search-icon {
  color: var(--pink);
}

.header-search input,
.mobile-search input,
.search-page-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.mobile-toggle {
  display: none;
  border: 0;
  color: #374151;
  background: transparent;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid var(--line);
}

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

.mobile-panel nav {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.mobile-search {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.mobile-search button,
.search-page-form button {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  padding: 44px 0 36px;
}

.hero-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: center;
  padding: 76px 72px 128px;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.08);
  opacity: 0.42;
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.56), transparent 34%),
    radial-gradient(circle at 80% 15%, rgba(59, 130, 246, 0.42), transparent 30%),
    linear-gradient(120deg, rgba(17, 24, 39, 0.94), rgba(88, 28, 135, 0.72));
}

.hero-content {
  color: #fff;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--pink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 700px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.6;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

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

.hero-tags .tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.primary-btn,
.ghost-btn,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  padding: 13px 22px;
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.28);
}

.primary-btn svg {
  fill: currentColor;
  stroke: none;
}

.ghost-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 12px 20px;
  backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover,
.more-link:hover {
  transform: translateY(-2px);
}

.wide {
  width: 100%;
  margin-top: 18px;
}

.hero-controls {
  position: absolute;
  right: 30px;
  bottom: 40px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-controls button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 34px;
  cursor: pointer;
}

.hero-dots {
  position: absolute;
  left: 36px;
  right: 156px;
  bottom: 30px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hero-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.hero-dot.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
}

.hero-dot img {
  width: 46px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.hero-dot span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.6;
  animation: float 7s ease-in-out infinite;
}

.hero-orb-one {
  top: 80px;
  left: 4%;
  width: 170px;
  height: 170px;
  background: #f9a8d4;
}

.hero-orb-two {
  right: 5%;
  bottom: 70px;
  width: 220px;
  height: 220px;
  background: #93c5fd;
  animation-delay: 1s;
}

.section {
  padding: 74px 0;
}

.soft-section {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(10px);
}

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

.section-head h2,
.page-hero h1,
.detail-info h1,
.content-card h2,
.side-card h2,
.rank-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head p,
.page-hero p,
.category-card p,
.rank-panel p,
.footer-grid p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.more-link {
  color: var(--pink);
  background: #fff;
  padding: 11px 18px;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.12);
}

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

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

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

.movie-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.05);
}

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 800;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  background: rgba(236, 72, 153, 0.92);
  border-radius: 999px;
  font-size: 13px;
}

.play-chip svg {
  fill: currentColor;
  stroke: none;
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.28);
}

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

.movie-card-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

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

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

.movie-meta span,
.detail-meta span {
  padding: 5px 9px;
  background: #f9fafb;
  border-radius: 999px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  color: #be185d;
  background: #fce7f3;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.category-band {
  background: linear-gradient(90deg, rgba(252, 231, 243, 0.88), rgba(237, 233, 254, 0.88), rgba(219, 234, 254, 0.88));
}

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

.category-card,
.category-overview-card,
.content-card,
.side-card,
.rank-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
}

.category-card {
  display: block;
  padding: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-letter {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 16px;
  font-size: 24px;
  font-weight: 900;
}

.category-card strong {
  display: block;
  margin-top: 16px;
  font-size: 21px;
}

.category-card em,
.category-preview {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.category-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 12px;
  font-size: 13px;
}

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

.stack-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.small-movie {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.small-movie:hover {
  transform: translateX(4px);
  border-color: #f9a8d4;
}

.small-movie img {
  width: 76px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
}

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

.small-movie em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.rank-panel {
  padding: 26px;
}

.rank-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.rank-list a,
.rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.rank-list b,
.rank-row b {
  color: var(--pink);
}

.rank-list span,
.rank-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.rank-list em,
.rank-row small,
.rank-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(244, 114, 182, 0.28), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(96, 165, 250, 0.25), transparent 30%);
}

.compact-hero {
  padding: 70px 0;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(42px, 6vw, 70px);
}

.inline-actions .ghost-btn {
  color: var(--pink);
  background: #fff;
  border-color: #fbcfe8;
}

.category-overview-card {
  padding: 24px;
}

.category-overview-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.category-overview-title h2 {
  margin: 0;
  font-size: 23px;
}

.category-overview-title p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.category-overview-title strong {
  color: var(--pink);
}

.compact-list {
  margin: 18px 0;
}

.rank-hero {
  background: linear-gradient(135deg, #fff1f2, #f5f3ff, #eff6ff);
}

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

.movie-card-compact .movie-card-body p {
  display: none;
}

.rank-table {
  display: grid;
  gap: 12px;
}

.rank-row {
  grid-template-columns: 56px 64px minmax(0, 1fr) auto;
  padding: 12px 16px;
}

.rank-row img {
  width: 64px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-row span {
  min-width: 0;
}

.rank-row em {
  display: block;
  margin-top: 4px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0;
  color: #fff;
  background: #111827;
}

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

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

.detail-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(88, 28, 135, 0.72));
}

.detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

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

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

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

.detail-info h1 {
  color: #fff;
  font-size: clamp(42px, 7vw, 76px);
}

.detail-one-line {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.7;
}

.detail-meta {
  margin: 20px 0 8px;
}

.detail-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.player-section {
  padding-bottom: 28px;
}

.player-card {
  position: relative;
  overflow: hidden;
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: #fff;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.26), rgba(17, 24, 39, 0.58));
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-overlay span {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.34);
}

.player-overlay svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
  stroke: none;
}

.player-overlay strong {
  font-size: 22px;
}

.content-card,
.side-card {
  padding: 30px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.content-card p {
  margin: 0 0 26px;
  color: #374151;
  font-size: 17px;
  line-height: 1.9;
}

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

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

.info-list dt {
  color: var(--muted);
  font-size: 13px;
}

.info-list dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.search-page-form {
  max-width: 720px;
  margin-top: 26px;
  padding: 10px;
  background: #fff;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(236, 72, 153, 0.14);
}

.search-page-form input {
  padding: 0 14px;
}

.search-summary {
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 38px;
}

.pagination a,
.pagination span {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
}

.pagination a.is-active,
.pagination a:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-color: transparent;
}

.site-footer {
  color: #374151;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 54px 0 32px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--pink);
}

.footer-pill {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 12px;
  color: var(--pink);
  background: #fce7f3;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}

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

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

  .hero-shell {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 56px 34px 148px;
  }

  .hero-poster {
    display: none;
  }

  .hero-dots {
    right: 30px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .three-col,
  .split-layout,
  .detail-content-grid,
  .rank-hero-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-carousel {
    padding: 18px 0 20px;
  }

  .hero-shell {
    min-height: 650px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 42px 24px 142px;
  }

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

  .hero-content p,
  .detail-one-line {
    font-size: 17px;
  }

  .hero-dots {
    left: 18px;
    right: 18px;
    bottom: 20px;
    grid-template-columns: 1fr;
  }

  .hero-dot:not(.is-active) {
    display: none;
  }

  .hero-controls {
    right: 18px;
    bottom: 86px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
  }

  .more-link {
    margin-top: 16px;
  }

  .four-col,
  .three-col,
  .category-grid,
  .category-overview-grid,
  .footer-grid,
  .podium-grid,
  .detail-grid,
  .info-list {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 240px;
  }

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

  .rank-row small {
    grid-column: 3;
  }

  .footer-bottom {
    display: grid;
  }
}
