:root {
  --cyan-50: #ecfeff;
  --cyan-100: #cffafe;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --teal-600: #0d9488;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 10px 24px rgba(15, 23, 42, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
  color: var(--slate-800);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--cyan-700), var(--cyan-600), var(--teal-600));
  box-shadow: 0 12px 30px rgba(8, 145, 178, 0.28);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  min-width: max-content;
}

.brand-icon,
.footer-brand span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
}

.brand-text small {
  margin-top: 4px;
  color: var(--cyan-100);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
  font-weight: 700;
}

.desktop-nav a,
.mobile-panel nav a {
  position: relative;
  color: var(--white);
  transition: color 0.22s ease, transform 0.22s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-panel nav a:hover,
.mobile-panel nav a.is-active {
  color: var(--cyan-100);
}

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

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

.header-search input,
.mobile-search input,
.search-band input,
.search-controls input,
.filter-panel input,
.search-controls select {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-search input,
.mobile-search input {
  width: min(240px, 26vw);
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  padding: 10px 14px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: var(--cyan-100);
}

.header-search input:focus,
.mobile-search input:focus,
.search-band input:focus,
.search-controls input:focus,
.filter-panel input:focus,
.search-controls select:focus {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 4px rgba(207, 250, 254, 0.22);
}

.header-search button,
.mobile-search button,
.search-band button,
.search-controls button,
.primary-button,
.section-more {
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--cyan-700);
  font-weight: 800;
  padding: 10px 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-band button:hover,
.search-controls button:hover,
.primary-button:hover,
.section-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 22px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 116, 144, 0.98);
  padding: 16px;
}

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

.mobile-panel nav {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  display: grid;
  gap: 12px;
}

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

.mobile-search input {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 64vh;
  overflow: hidden;
  background: var(--slate-900);
}

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

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

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

.hero-bg img {
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(6, 182, 212, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.42) 48%, rgba(0, 0, 0, 0.86)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 72px 0;
  color: var(--white);
  max-width: 1180px;
}

.hero-pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--cyan-600);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-pill {
  padding: 8px 14px;
  margin-bottom: 18px;
}

.hero-content h1 {
  max-width: 780px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 900;
  margin: 0 0 18px;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
}

.hero-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.8;
  margin: 0 0 26px;
}

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

.primary-button {
  background: linear-gradient(90deg, var(--cyan-600), var(--teal-600));
  color: var(--white);
  display: inline-flex;
  align-items: center;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--white);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, background 0.22s ease;
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.26);
  padding: 0;
}

.hero-dot.is-active {
  width: 32px;
  background: var(--white);
}

.search-band {
  margin-top: -34px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  backdrop-filter: blur(18px);
}

.search-band h2,
.section-heading h2,
.simple-hero h1,
.detail-info-card h1,
.article-card h2 {
  color: var(--slate-800);
  font-weight: 900;
}

.search-band h2 {
  margin: 8px 0 0;
  font-size: clamp(22px, 4vw, 34px);
}

.search-band input {
  flex: 1;
  min-width: 0;
  background: var(--slate-50);
  border-color: var(--slate-200);
  color: var(--slate-800);
  padding: 14px 16px;
}

.search-band button,
.search-controls button {
  background: linear-gradient(90deg, var(--cyan-600), var(--teal-600));
  color: var(--white);
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
  padding-top: 40px;
}

.content-section {
  padding: 44px 0;
}

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

.section-kicker {
  padding: 6px 10px;
  font-size: 12px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 4vw, 38px);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--slate-500);
}

.section-more {
  background: var(--cyan-50);
  color: var(--cyan-700);
  box-shadow: none;
  border: 1px solid rgba(8, 145, 178, 0.12);
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226, 232, 240, 0.86);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(8, 145, 178, 0.24);
}

.movie-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, var(--slate-800), var(--cyan-700));
  overflow: hidden;
}

.movie-poster img,
.detail-cover img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.poster-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--white);
  font-weight: 900;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(6, 182, 212, 0.36), transparent 34%),
    linear-gradient(135deg, var(--slate-900), var(--cyan-700));
}

.image-shell img {
  position: relative;
  z-index: 2;
}

.image-shell.is-missing img {
  display: none;
}

.type-badge,
.year-badge,
.rank-badge {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  color: var(--white);
  background: rgba(8, 145, 178, 0.92);
  backdrop-filter: blur(8px);
}

.type-badge {
  left: 10px;
  top: 10px;
}

.year-badge {
  right: 10px;
  top: 10px;
  background: rgba(15, 23, 42, 0.72);
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.movie-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.movie-card-body h3 {
  color: var(--slate-800);
  font-size: 17px;
  line-height: 1.38;
  font-weight: 900;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-line {
  color: var(--slate-500);
  line-height: 1.65;
  min-height: 3.2em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.movie-meta-row span,
.movie-tags-mini {
  color: var(--cyan-700);
  background: var(--cyan-50);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.movie-tags-mini {
  color: var(--slate-500);
  background: var(--slate-100);
  border-radius: 12px;
  line-height: 1.5;
}

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

.movie-card-compact .movie-card-line {
  min-height: 0;
  font-size: 13px;
}

.sidebar-card,
.filter-panel,
.search-page-panel,
.category-preview-block,
.article-card,
.detail-info-card,
.player-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(226, 232, 240, 0.86);
  box-shadow: var(--shadow-card);
}

.sidebar-card {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.sidebar-heading {
  align-items: center;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--slate-50);
  transition: background 0.22s ease, transform 0.22s ease;
}

.rank-row:hover {
  background: var(--cyan-50);
  transform: translateX(3px);
}

.rank-index {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cyan-600);
  color: var(--white);
  font-weight: 900;
}

.rank-title {
  font-weight: 900;
  color: var(--slate-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-row small {
  color: var(--slate-500);
}

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

.category-card {
  position: relative;
  min-height: 170px;
  padding: 22px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(135deg, var(--cyan-700), var(--teal-600));
  color: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card span {
  font-size: 20px;
  font-weight: 900;
}

.category-card strong {
  display: block;
  margin: 12px 0;
  font-size: 32px;
}

.category-card p,
.category-card small {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.page-hero {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.20), transparent 26%),
    linear-gradient(90deg, var(--cyan-700), var(--teal-600));
  color: var(--white);
  padding: 70px 0;
}

.simple-hero h1 {
  color: var(--white);
  font-size: clamp(34px, 6vw, 58px);
  margin: 16px 0 16px;
}

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

.categories-overview {
  padding: 44px 0;
  display: grid;
  gap: 34px;
}

.category-preview-block {
  padding: 24px;
}

.filter-panel,
.search-page-panel {
  margin-top: -32px;
  position: relative;
  z-index: 2;
  padding: 22px;
}

.filter-row,
.search-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-row label {
  font-weight: 900;
  color: var(--slate-800);
}

.filter-row input,
.search-controls input,
.search-controls select {
  min-width: 180px;
  background: var(--slate-50);
  border-color: var(--slate-200);
  color: var(--slate-800);
  padding: 12px 14px;
}

.filter-row input,
.search-controls input {
  flex: 1;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-filters button {
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--slate-50);
  color: var(--slate-700);
  padding: 8px 12px;
  font-weight: 800;
}

.quick-filters button.is-active,
.quick-filters button:hover {
  background: var(--cyan-600);
  border-color: var(--cyan-600);
  color: var(--white);
}

.filter-count {
  color: var(--slate-500);
  margin: 14px 0 0;
  font-weight: 800;
}

.empty-state,
.noscript-box {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--slate-500);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.noscript-box ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.noscript-box a {
  color: var(--cyan-700);
  font-weight: 900;
}

.rank-table {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226, 232, 240, 0.86);
}

.rank-table-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.5fr) 1fr 1fr 100px minmax(0, 1.3fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.22s ease;
}

.rank-table-row:hover {
  background: var(--cyan-50);
}

.rank-table-row span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cyan-600);
  color: var(--white);
  font-weight: 900;
}

.rank-table-row strong {
  color: var(--slate-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-table-row small,
.rank-table-row em {
  color: var(--slate-500);
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(6, 182, 212, 0.22), transparent 28%),
    linear-gradient(135deg, var(--slate-900), var(--slate-800));
  color: var(--white);
  padding: 24px 0 46px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}

.breadcrumb a:hover {
  color: var(--cyan-100);
}

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

.player-card,
.detail-info-card {
  overflow: hidden;
}

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

.video-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 10px;
  align-content: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(8, 145, 178, 0.18), rgba(0, 0, 0, 0.58));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-layer span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--cyan-600), var(--teal-600));
  box-shadow: 0 20px 50px rgba(8, 145, 178, 0.42);
  font-size: 32px;
  padding-left: 4px;
}

.play-layer strong {
  font-size: 18px;
}

.player-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  color: var(--slate-500);
  background: var(--white);
  font-weight: 800;
}

.detail-info-card {
  padding: 18px;
  color: var(--slate-800);
}

.detail-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-900);
  margin-bottom: 18px;
}

.detail-info-card h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  margin: 0 0 12px;
}

.detail-info-card p {
  color: var(--slate-500);
  line-height: 1.75;
  margin: 0 0 16px;
}

.movie-info-list {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.movie-info-list div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
}

.movie-info-list dt {
  color: var(--slate-500);
  font-weight: 800;
}

.movie-info-list dd {
  margin: 0;
  color: var(--slate-800);
  font-weight: 900;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud span {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--cyan-50);
  color: var(--cyan-700);
  font-size: 13px;
  font-weight: 900;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 44px 0 0;
}

.article-card {
  padding: 26px;
}

.article-card h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 12px 0 16px;
}

.article-card p {
  color: var(--slate-700);
  line-height: 2;
  font-size: 16px;
  margin: 0;
}

.site-footer {
  margin-top: 54px;
  background: linear-gradient(180deg, var(--slate-800), var(--slate-900));
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  margin-bottom: 16px;
  font-size: 20px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 18px;
  margin: 0 0 14px;
}

.site-footer p,
.site-footer li {
  color: #94a3b8;
  line-height: 1.75;
}

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

.site-footer a:hover {
  color: var(--cyan-100);
}

.footer-tags {
  max-width: 260px;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 18px 16px;
  text-align: center;
  color: #94a3b8;
}

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

  .mobile-menu-button {
    display: grid;
    place-items: center;
  }

  .two-column-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

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

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

  .brand-text small {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 72vh;
  }

  .hero-content {
    padding: 52px 0 78px;
  }

  .search-band,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .search-band form,
  .filter-row,
  .search-controls {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .rank-table-row small,
  .rank-table-row em {
    display: none;
  }
}

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

  .brand-icon {
    width: 36px;
    height: 36px;
  }

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

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

  .movie-grid,
  .compact-grid,
  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .movie-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .movie-poster {
    height: 100%;
    min-height: 178px;
  }

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

  .movie-card-line {
    min-height: 0;
  }

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

  .player-meta {
    font-size: 13px;
  }
}
