:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-strong: #111827;
  --line: #334155;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --dim: #94a3b8;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.16), transparent 32rem),
    radial-gradient(circle at 85% 18%, rgba(59, 130, 246, 0.12), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(51, 65, 85, 0.72);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.site-logo::before,
.footer-logo::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  box-shadow: 0 16px 30px rgba(245, 158, 11, 0.28);
}

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

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.16);
}

.header-search {
  width: min(360px, 32vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
}

.header-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
}

.header-search input::placeholder,
.hero-search input::placeholder,
.filter-panel input::placeholder {
  color: #94a3b8;
}

.header-search button,
.hero-search button,
.primary-button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 800;
  transition: 0.2s ease;
}

.header-search button,
.hero-search button,
.primary-button {
  color: #111827;
  background: var(--accent);
  box-shadow: 0 15px 30px rgba(245, 158, 11, 0.24);
}

.header-search button {
  padding: 8px 14px;
}

.header-search button:hover,
.hero-search button:hover,
.primary-button:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
}

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

.hero {
  position: relative;
  height: 80vh;
  min-height: 620px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-slide img,
.detail-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.78) 38%, rgba(2, 6, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 1) 0%, transparent 44%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2));
  bottom: 132px;
  width: min(720px, calc(100% - 48px));
}

.hero-tags,
.hero-inline-tags,
.tag-row,
.detail-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.hero-inline-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.28);
  font-size: 13px;
  font-weight: 700;
}

.hero-content h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 30px;
  color: #dbeafe;
  font-size: clamp(17px, 1.7vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.24);
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(12px);
}

.ghost-button:hover {
  border-color: rgba(245, 158, 11, 0.54);
  background: rgba(245, 158, 11, 0.16);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  font-size: 40px;
  line-height: 1;
  transform: translateY(-50%);
  transition: 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(245, 158, 11, 0.8);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: 0.25s ease;
}

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

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(760px, calc(100% - 48px));
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

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

.hero-search button {
  min-height: 44px;
  padding: 0 24px;
}

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

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

.section-heading span,
.page-hero span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.page-hero h1,
.detail-title-block h1 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading a {
  color: #fde68a;
  font-weight: 800;
}

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

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

.archive-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.36);
  transform: translateY(-6px);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0f172a;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.88));
}

.poster-play,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.poster-play {
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 38px;
  border-radius: 999px;
  color: #111827;
  background: rgba(245, 158, 11, 0.94);
  opacity: 0;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  top: 12px;
  left: 12px;
  min-width: 42px;
  height: 34px;
  border-radius: 999px;
  color: #111827;
  background: #fbbf24;
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.3);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
}

.movie-card h3 {
  margin: 8px 0 8px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.28;
}

.movie-card h3 a:hover {
  color: #fde68a;
}

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

.tag-row span {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 12px;
}

.dark-panel {
  width: min(1320px, calc(100% - 32px));
  padding: 42px;
  border: 1px solid rgba(51, 65, 85, 0.72);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.84));
  box-shadow: var(--shadow);
}

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #0f172a;
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.92));
}

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
}

.category-tile strong {
  bottom: 68px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.18;
}

.category-tile em {
  bottom: 18px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.rank-panel {
  padding: 28px;
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.glow-panel {
  background:
    radial-gradient(circle at 85% 0%, rgba(245, 158, 11, 0.16), transparent 20rem),
    rgba(15, 23, 42, 0.72);
}

.compact-heading {
  margin-bottom: 18px;
}

.compact-heading h2 {
  font-size: 28px;
}

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

.two-column-mini {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card {
  display: grid;
  grid-template-columns: auto 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(51, 65, 85, 0.7);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.45);
  transition: 0.2s ease;
}

.mini-card:hover {
  border-color: rgba(245, 158, 11, 0.48);
  background: rgba(245, 158, 11, 0.08);
}

.mini-card img {
  width: 58px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  background: #0f172a;
}

.mini-card strong,
.mini-card em {
  display: block;
}

.mini-card strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card em {
  overflow: hidden;
  color: var(--dim);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-rank {
  width: 30px;
  color: #fbbf24;
  font-weight: 900;
}

.page-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 34px auto 0;
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.76)),
    radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.2), transparent 28rem);
  box-shadow: var(--shadow);
}

.compact-hero {
  padding: 56px;
}

.page-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
}

.category-cover {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 22px;
  background: #0f172a;
}

.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-cover span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #111827;
  background: var(--accent);
  font-weight: 900;
}

.category-overview-body h2 {
  margin: 4px 0 8px;
  color: #ffffff;
  font-size: 28px;
}

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

.compact-mini-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-mini-list .mini-card {
  grid-template-columns: 52px minmax(0, 1fr);
}

.compact-mini-list .mini-card .mini-rank {
  display: none;
}

.compact-mini-list .mini-card img {
  width: 52px;
  height: 70px;
}

.filter-panel {
  width: min(1280px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 18px;
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 12px;
}

.single-filter {
  grid-template-columns: minmax(0, 1fr);
}

.filter-grid label {
  display: grid;
  gap: 7px;
}

.filter-grid span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.56);
}

.filter-panel select option {
  color: #0f172a;
}

.empty-state {
  display: none;
  margin: 28px auto 0;
  padding: 22px;
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
  background: rgba(15, 23, 42, 0.72);
}

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

.detail-hero {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  filter: blur(1px);
  transform: scale(1.03);
}

.detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.28)),
    linear-gradient(0deg, rgba(2, 6, 23, 1), rgba(2, 6, 23, 0.15));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 0 0 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--dim);
  font-size: 14px;
}

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

.detail-title-block {
  max-width: 820px;
}

.detail-title-block p {
  margin: 18px 0 18px;
  color: #dbeafe;
  font-size: 20px;
}

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

.video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.88);
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.76));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-symbol {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: #111827;
  background: var(--accent);
  box-shadow: 0 24px 50px rgba(245, 158, 11, 0.32);
  font-size: 38px;
  text-indent: 4px;
}

.video-overlay strong {
  font-size: 20px;
}

.detail-article {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
}

.detail-article h2,
.side-related h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 24px;
}

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

.detail-article p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.detail-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 18px;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  object-fit: cover;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.detail-info,
.side-related {
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.detail-info div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.58);
}

.detail-info div:last-child {
  border-bottom: 0;
}

.detail-info dt {
  color: var(--dim);
  font-weight: 800;
}

.detail-info dd {
  margin: 0;
  color: #ffffff;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(51, 65, 85, 0.78);
  background: rgba(2, 6, 23, 0.72);
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  gap: 16px;
  color: var(--muted);
}

.footer-inner p {
  max-width: 760px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

.copyright {
  color: var(--dim);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .archive-grid,
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .split-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(51, 65, 85, 0.88);
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    border-radius: 14px;
  }

  .header-search {
    display: none;
  }

  .hero {
    min-height: 620px;
    height: 76vh;
  }

  .hero-content {
    bottom: 148px;
  }

  .hero-arrow {
    display: none;
  }

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

  .dark-panel,
  .compact-hero {
    padding: 28px;
  }

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

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .compact-mini-list,
  .two-column-mini {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .site-logo,
  .footer-logo {
    font-size: 18px;
  }

  .site-logo::before,
  .footer-logo::before {
    width: 30px;
    height: 30px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    bottom: 158px;
  }

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

  .hero-search {
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
  }

  .hero-dots {
    bottom: 120px;
  }

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

  .movie-grid,
  .feature-grid,
  .archive-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-hero {
    height: 500px;
  }

  .detail-title-block h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .detail-title-block p {
    font-size: 17px;
  }

  .play-symbol {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .detail-article,
  .rank-panel {
    padding: 22px;
  }
}
