
* {
  box-sizing: border-box;
}

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-cyan: #06b6d4;
  --color-teal: #14b8a6;
  --color-text: #111827;
  --color-muted: #64748b;
  --color-soft: #f8fafc;
  --color-line: #e5e7eb;
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 12px 30px rgba(37, 99, 235, 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-logo__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  box-shadow: var(--shadow-soft);
  font-size: 14px;
}

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

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

.nav-link {
  padding: 9px 12px;
  border-radius: 12px;
  color: #475569;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-primary);
  background: #eff6ff;
  transform: translateY(-1px);
}

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

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #ffffff;
  padding: 11px 14px;
  color: var(--color-text);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.header-search input {
  width: 190px;
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 14px;
  padding: 11px 14px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 22px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 14px 18px 18px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

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

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.home-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(115deg, #2563eb 0%, #0891b2 50%, #0f766e 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 28%), radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.18), transparent 24%), linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 75%, transparent);
  background-size: auto, auto, 58px 58px;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.12));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 118px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  background: #eff6ff;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-hero .hero-kicker {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.home-hero h1 {
  max-width: 860px;
  margin: 22px 0 18px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 720px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-category-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 11px 17px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-category-links a:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.hero-carousel {
  position: relative;
  min-height: 360px;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 390px);
  gap: 34px;
  align-items: center;
  padding: 28px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(18px);
}

.hero-slide.is-active {
  display: grid;
  animation: fadeIn 0.45s ease;
}

.hero-slide__eyebrow {
  color: #cffafe;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-slide h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
}

.hero-slide p {
  max-width: 620px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.hero-slide__tags,
.movie-card__tags,
.detail-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-slide__tags span,
.movie-card__tags span,
.detail-tags span,
.tag-cloud span {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 750;
}

.hero-slide__tags span {
  color: #ecfeff;
  background: rgba(255, 255, 255, 0.17);
}

.hero-slide__actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-light {
  background: #ffffff;
  color: var(--color-primary);
}

.btn-ghost-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  color: #ffffff;
}

.btn-outline {
  border-color: #bfdbfe;
  color: var(--color-primary);
  background: #ffffff;
}

.hero-slide__poster {
  display: block;
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.32);
  background: rgba(255, 255, 255, 0.18);
}

.hero-slide__poster img,
.movie-card__poster img,
.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.hero-dot {
  width: 28px;
  height: 7px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

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

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

.section--lifted {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  padding: 0;
}

.section--soft,
.section--warm {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
}

.section--soft {
  background: linear-gradient(90deg, #f8fafc, #eff6ff);
}

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

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

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-more {
  color: var(--color-primary);
  font-weight: 800;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.stats-strip div {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-radius: 20px;
  background: #f8fafc;
  text-align: center;
}

.stats-strip strong {
  color: var(--color-primary);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.stats-strip span {
  color: var(--color-muted);
  font-weight: 700;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 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(37, 99, 235, 0.32);
  box-shadow: var(--shadow-card);
}

.movie-card__poster {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.movie-card__poster img {
  transition: transform 0.35s ease;
}

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

.movie-card__score {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(120, 53, 15, 0.16);
}

.movie-card__content {
  padding: 18px;
}

.movie-card__tags span {
  color: var(--color-primary);
  background: #eff6ff;
}

.movie-card h3 {
  margin: 12px 0 9px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--color-primary);
}

.movie-card p {
  margin: 0;
  min-height: 48px;
  color: var(--color-muted);
  font-size: 14px;
}

.movie-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

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

.category-tile,
.category-card {
  display: grid;
  gap: 10px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.category-tile {
  justify-items: center;
  padding: 28px 18px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile__icon,
.category-card__head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.category-tile strong {
  font-size: 18px;
}

.category-tile small,
.category-card p,
.category-card__count,
.category-card__samples a span {
  color: var(--color-muted);
}

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

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

.category-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.category-card__head strong {
  font-size: 22px;
}

.category-card__samples {
  display: grid;
  gap: 8px;
  margin: 6px 0 12px;
}

.category-card__samples a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  font-weight: 700;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(115deg, #1d4ed8, #0891b2 55%, #0f766e);
}

.page-hero {
  padding: 74px max(16px, calc((100% - 1180px) / 2));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.24), transparent 28%), radial-gradient(circle at 85% 0, rgba(255, 255, 255, 0.18), transparent 30%);
}

.page-hero > div {
  position: relative;
  max-width: 840px;
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
}

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

.filter-panel {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.filter-panel__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel__result {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

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

.pagination a {
  min-width: 40px;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  color: #475569;
  font-weight: 800;
}

.pagination a.is-current,
.pagination a:hover {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

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

.ranking-column {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.ranking-column h2 {
  margin: 0 0 16px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 44px 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(226, 232, 240, 0.82);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.rank-item__num {
  color: #f59e0b;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 58px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  background: #dbeafe;
}

.rank-item__body {
  display: grid;
  min-width: 0;
}

.rank-item__body strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item__body small {
  color: var(--color-muted);
}

.detail-hero {
  min-height: 520px;
  background: #0f172a;
}

.detail-hero__backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: blur(8px) saturate(1.15);
  transform: scale(1.04);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.78));
}

.detail-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  padding: 52px 0;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 14px;
}

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

.detail-info h1 {
  margin: 16px 0 14px;
  max-width: 760px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 20px;
  color: #e2e8f0;
  font-size: 18px;
}

.detail-tags span {
  color: #ecfeff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.32);
  aspect-ratio: 16 / 9;
}

.movie-player__video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.movie-player__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.82));
  cursor: pointer;
}

.movie-player__overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.movie-player__play {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.46);
  font-size: 34px;
}

.movie-player__overlay strong {
  max-width: 80%;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.2;
}

.movie-player__overlay em {
  max-width: 70%;
  color: #cbd5e1;
  font-style: normal;
}

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

.detail-article,
.detail-side {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.detail-article {
  padding: 28px;
}

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

.detail-article h2:not(:first-child) {
  margin-top: 30px;
}

.detail-article p {
  margin: 0;
  color: #334155;
  font-size: 16px;
}

.tag-cloud span {
  color: var(--color-primary);
  background: #eff6ff;
}

.tag-cloud--soft span {
  color: #0f766e;
  background: #ccfbf1;
}

.detail-side {
  position: sticky;
  top: 90px;
  padding: 24px;
}

.detail-side dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-side dt {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.detail-side dd {
  margin: -8px 0 0;
  color: #1f2937;
  font-weight: 700;
}

.detail-side a {
  color: var(--color-primary);
}

.search-page-form {
  max-width: 680px;
  margin-top: 28px;
}

.search-page-form input {
  min-height: 52px;
}

.search-count {
  color: var(--color-muted);
  font-weight: 800;
}

.site-footer {
  color: #cbd5e1;
  background: #111827;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 30px;
  padding: 42px 0;
}

.site-footer p {
  max-width: 440px;
  color: #94a3b8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer a:not(.site-logo) {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
}

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

.site-footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 18px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .mobile-menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-slide,
  .detail-hero__inner,
  .detail-layout,
  .ranking-layout,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero-slide__poster {
    max-width: 320px;
  }

  .movie-grid--four,
  .movie-grid--three,
  .category-card-grid,
  .ranking-list--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filter-panel__grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-cover {
    max-width: 300px;
  }

  .detail-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    height: 62px;
    width: calc(100% - 24px);
  }

  .site-logo {
    font-size: 18px;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-inner {
    width: calc(100% - 24px);
    padding: 56px 0 84px;
  }

  .hero-slide {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-slide__poster {
    width: 100%;
    max-width: none;
  }

  .stats-strip,
  .movie-grid--four,
  .movie-grid--three,
  .category-grid,
  .category-card-grid,
  .filter-panel__grid {
    grid-template-columns: 1fr;
  }

  .section,
  .detail-hero__inner {
    width: calc(100% - 24px);
  }

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

  .movie-card__poster {
    height: 320px;
  }

  .page-hero {
    padding: 54px 12px;
  }

  .detail-hero__inner {
    min-height: auto;
    padding: 36px 0;
  }

  .movie-player {
    border-radius: 20px;
  }

  .movie-player__play {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  .movie-player__overlay em {
    max-width: 86%;
  }

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