:root {
  --cyan: #0891b2;
  --cyan-dark: #0e7490;
  --blue: #2563eb;
  --teal: #0d9488;
  --ink: #111827;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.10);
  --card: #ffffff;
  --page: #f8fafc;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(100deg, #0891b2 0%, #2563eb 52%, #0d9488 100%);
  box-shadow: 0 12px 30px rgba(8, 145, 178, 0.25);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0891b2;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.header-search {
  flex: 1;
  max-width: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: #ffffff;
}

.header-search input {
  padding: 13px 16px;
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  color: #ffffff;
  background: var(--ink);
  padding: 13px 18px;
  cursor: pointer;
}

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

.nav-link,
.mobile-link {
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  background: rgba(255, 255, 255, 0.16);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #ffffff;
}

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

.mobile-search {
  display: flex;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
}

.mobile-search input {
  padding: 12px 14px;
}

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

.mobile-link {
  padding: 12px 14px;
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #ffffff;
  background: #06111f;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-backdrop {
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(8, 47, 73, 0.62), rgba(15, 23, 42, 0.35)),
    radial-gradient(circle at 72% 28%, rgba(34, 211, 238, 0.36), transparent 34%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
  filter: saturate(1.08);
}

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

.hero-kicker,
.eyebrow {
  color: #67e8f9;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

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

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.tag-row span {
  color: #0e7490;
  background: #ecfeff;
}

.large-tags span {
  font-size: 14px;
  padding: 8px 14px;
}

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

.primary-button,
.ghost-button,
.ghost-dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(255, 255, 255, 0.18);
}

.primary-button:hover,
.ghost-button:hover,
.ghost-dark-button:hover {
  transform: translateY(-2px);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.ghost-dark-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffff;
}

.hero-poster {
  position: absolute;
  right: max(30px, calc((100vw - 1180px) / 2));
  bottom: 74px;
  z-index: 3;
  width: min(330px, 28vw);
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #0f172a, #0e7490);
}

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  font-weight: 800;
  background: rgba(8, 145, 178, 0.86);
  backdrop-filter: blur(12px);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 32px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

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

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -44px;
  position: relative;
  z-index: 6;
}

.feature-strip a {
  padding: 24px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #0891b2, #2563eb);
  box-shadow: var(--shadow);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip strong {
  font-size: 22px;
  margin-bottom: 8px;
}

.feature-strip span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.section-block {
  padding: 72px 0 0;
}

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

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.8;
}

.section-head > a {
  color: var(--cyan-dark);
  font-weight: 800;
  white-space: nowrap;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 24px;
}

.compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 22px 50px rgba(8, 145, 178, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #0e7490);
}

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

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

.type-pill,
.rating-pill {
  position: absolute;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.type-pill {
  left: 12px;
  background: rgba(8, 145, 178, 0.86);
}

.rating-pill {
  right: 12px;
  background: rgba(15, 23, 42, 0.72);
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.movie-meta span {
  padding-right: 8px;
  border-right: 1px solid var(--line);
}

.movie-meta span:last-child {
  border-right: 0;
}

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

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

.movie-card p {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.65;
  font-size: 14px;
}

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

.category-tile,
.category-card-main {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 160px;
  padding: 26px;
  border-radius: 26px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.category-tile strong,
.category-card-main span {
  display: block;
  margin-bottom: 10px;
  font-size: 25px;
}

.category-tile span,
.category-card-main p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.category-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.category-samples {
  display: grid;
  gap: 10px;
  padding: 18px 22px 24px;
}

.category-samples a {
  color: #334155;
  font-weight: 700;
}

.category-samples a:hover {
  color: var(--cyan-dark);
}

.tone-cyan,
.tone-blue,
.tone-teal,
.tone-rose,
.tone-emerald,
.tone-amber,
.tone-violet,
.tone-pink,
.tone-orange,
.tone-red,
.tone-indigo,
.tone-green {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.tone-blue {
  background: linear-gradient(135deg, #2563eb, #0891b2);
}

.tone-teal {
  background: linear-gradient(135deg, #0d9488, #06b6d4);
}

.tone-rose {
  background: linear-gradient(135deg, #e11d48, #f97316);
}

.tone-emerald {
  background: linear-gradient(135deg, #059669, #10b981);
}

.tone-amber {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.tone-violet {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.tone-pink {
  background: linear-gradient(135deg, #db2777, #f43f5e);
}

.tone-orange {
  background: linear-gradient(135deg, #ea580c, #f59e0b);
}

.tone-red {
  background: linear-gradient(135deg, #dc2626, #be123c);
}

.tone-indigo {
  background: linear-gradient(135deg, #4f46e5, #0891b2);
}

.tone-green {
  background: linear-gradient(135deg, #16a34a, #0d9488);
}

.highlight-panel {
  width: min(1240px, calc(100% - 24px));
  margin: 72px auto 0;
  padding: 52px 30px;
  border-radius: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #0e7490 48%, #2563eb);
}

.light-head h2,
.light-head p,
.light-head > a {
  color: #ffffff;
}

.page-hero {
  color: #ffffff;
  padding: 88px 0;
  background: linear-gradient(120deg, #0891b2, #2563eb, #0d9488);
}

.slim-hero {
  padding: 74px 0;
}

.page-hero h1 {
  max-width: 860px;
  margin: 12px 0 14px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

.list-toolbar,
.search-page-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-input,
.filter-select,
.search-page-form input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.filter-select {
  min-width: 160px;
  color: var(--ink);
}

.filter-empty {
  display: none;
  padding: 28px;
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
}

.filter-empty.is-visible {
  display: block;
}

.search-page-form button {
  min-width: 112px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.search-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  color: #0e7490;
  font-weight: 800;
  background: #ffffff;
  cursor: pointer;
}

.search-result-head {
  margin-bottom: 22px;
}

.search-result-head h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

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

.rank-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}

.rank-board,
.rank-side,
.story-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.rank-board {
  padding: 26px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 58px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(8, 145, 178, 0.35);
}

.rank-row img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #0e7490);
}

.rank-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.rank-title {
  font-weight: 900;
}

.rank-meta {
  color: var(--muted);
  font-size: 14px;
}

.rank-score {
  color: #0e7490;
  font-weight: 900;
}

.rank-side {
  align-self: start;
  padding: 24px;
  position: sticky;
  top: 102px;
}

.rank-side h2 {
  margin: 0 0 16px;
}

.rank-side a {
  display: block;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: #0e7490;
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #06111f;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.58)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.08);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 20%, rgba(34, 211, 238, 0.28), transparent 32%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 34px 0 58px;
}

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

.breadcrumb a:hover {
  color: #67e8f9;
}

.detail-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: end;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #0f172a, #0e7490);
}

.detail-copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -0.05em;
}

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

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-stats span {
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

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

.video-stage {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  background:
    radial-gradient(circle at center, rgba(8, 145, 178, 0.42), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.32), rgba(2, 6, 23, 0.72));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #0f172a;
  font-size: 38px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.24);
}

.player-overlay strong {
  max-width: 80%;
  font-size: clamp(22px, 4vw, 42px);
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  padding-top: 42px;
}

.story-card,
.info-card {
  padding: 28px;
}

.story-card h2,
.info-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.story-card p {
  margin: 0 0 26px;
  color: #334155;
  line-height: 2;
  font-size: 17px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.info-card dl {
  margin: 0 0 24px;
}

.info-card dt {
  color: var(--muted);
  font-size: 13px;
  margin-top: 15px;
}

.info-card dd {
  margin: 4px 0 0;
  font-weight: 800;
  line-height: 1.6;
}

.site-footer {
  margin-top: 80px;
  color: rgba(255, 255, 255, 0.82);
  background: #0f172a;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 50px 0 30px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 36px;
}

.footer-brand {
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
  line-height: 1.8;
}

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

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

.footer-categories {
  grid-template-columns: repeat(2, 1fr);
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.62);
}

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

  .menu-button {
    display: block;
    margin-left: auto;
  }

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

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

  .hero-poster {
    display: none;
  }

  .feature-strip,
  .rank-layout,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    margin-top: 18px;
  }

  .detail-intro {
    grid-template-columns: 180px 1fr;
    align-items: center;
  }

  .rank-side {
    position: static;
  }
}

@media (max-width: 700px) {
  .header-inner {
    height: 68px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    display: none;
  }

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

  .hero-content {
    padding: 92px 0 86px;
  }

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

  .hero-controls {
    bottom: 18px;
  }

  .section-block {
    padding-top: 50px;
  }

  .section-head,
  .list-toolbar,
  .search-page-form {
    display: grid;
  }

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

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

  .movie-card p,
  .movie-meta,
  .tag-row {
    display: none;
  }

  .movie-card h3 {
    margin: 0;
    font-size: 15px;
  }

  .detail-intro {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    width: 58%;
    max-width: 220px;
  }

  .rank-row {
    grid-template-columns: 34px 48px 1fr auto;
  }

  .rank-row img {
    width: 48px;
    height: 64px;
  }

  .rank-meta {
    display: none;
  }

  .footer-categories {
    grid-template-columns: 1fr;
  }
}
