:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #2563eb;
  --yellow: #facc15;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.16), transparent 26rem),
    radial-gradient(circle at 80% 12%, rgba(37, 99, 235, 0.18), transparent 28rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "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;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(16px);
}

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

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(34, 211, 238, 0.25);
}

.brand-text,
.footer-brand {
  font-size: 1.45rem;
  line-height: 1;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link,
.mobile-link {
  color: #cbd5e1;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  color: #ffffff;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #cbd5e1;
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.mobile-menu.is-open {
  display: grid;
  gap: 14px;
}

.hero {
  position: relative;
  height: clamp(560px, 72vh, 720px);
  overflow: hidden;
  background: #020617;
}

.hero-slides,
.hero-slide,
.hero-bg,
.hero-bg img,
.hero-overlay-left,
.hero-overlay-bottom {
  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-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  opacity: 0.75;
}

.hero-overlay-left {
  background: linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.88) 38%, rgba(2, 6, 23, 0.25) 70%, transparent 100%);
}

.hero-overlay-bottom {
  background: linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.4) 42%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  display: grid;
  gap: 22px;
}

.hero-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: #a5f3fc;
  font-size: 0.88rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero p,
.page-hero p {
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.8;
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(10px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(34, 211, 238, 0.22);
  border-color: transparent;
}

.btn-ghost,
.btn-wide {
  background: rgba(15, 23, 42, 0.74);
  color: #dbeafe;
}

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

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.62);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 22px;
  transform: translateY(-50%);
}

.hero-next {
  right: 22px;
  transform: translateY(-50%);
}

.hero-dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 18px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: #475569;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.search-panel,
.section-block {
  margin-top: 56px;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #67e8f9;
}

.search-box.wide {
  width: 100%;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
}

.search-box input::placeholder {
  color: #64748b;
}

.filter-buttons,
.advanced-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn,
.filter-more,
.advanced-filter select {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(30, 41, 59, 0.86);
  color: #cbd5e1;
  cursor: pointer;
}

.filter-btn.is-active,
.filter-more:hover,
.advanced-filter select:focus {
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.35);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.85), rgba(37, 99, 235, 0.9));
}

.advanced-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  margin-bottom: 26px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section-line {
  width: 5px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.section-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
  font-size: 1.3rem;
}

.panel-block {
  padding: 32px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.45));
  box-shadow: var(--shadow);
}

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

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

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 250px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scrollbar-color: #334155 #020617;
}

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.13);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 25px 70px rgba(8, 145, 178, 0.18);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.25), transparent 18rem),
    linear-gradient(135deg, #0f172a, #020617);
}

.poster-wrap img,
.row-poster img,
.rank-thumb img,
.side-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.2s ease;
}

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

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

.card-play,
.play-mark,
.big-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.88);
  color: #ffffff;
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.rating-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.card-body {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.card-body h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

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

.card-body p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.card-meta {
  gap: 8px;
  color: #94a3b8;
  font-size: 0.78rem;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #475569;
}

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

.category-card,
.category-overview-card,
.detail-card,
.info-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
}

.category-card {
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.category-card:hover,
.category-overview-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

.category-card strong,
.category-title-link {
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 850;
}

.category-card em,
.category-overview-card p {
  color: #94a3b8;
  font-style: normal;
  line-height: 1.65;
}

.category-mini {
  display: grid;
  gap: 5px;
  margin-top: 6px;
  color: #67e8f9;
  font-size: 0.86rem;
}

.category-glow {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.14);
  filter: blur(2px);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 28px;
}

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

.rows-list.tight {
  gap: 10px;
}

.media-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.media-row:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(34, 211, 238, 0.25);
}

.row-poster {
  position: relative;
  height: 82px;
  overflow: hidden;
  background: #0f172a;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.media-row:hover .play-mark {
  opacity: 1;
}

.row-info {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 8px 12px 8px 0;
}

.row-info strong,
.row-info em,
.row-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-info strong {
  color: #ffffff;
}

.row-info em,
.row-info span {
  color: #94a3b8;
  font-size: 0.82rem;
  font-style: normal;
}

.page-shell {
  padding: 42px 0 72px;
}

.page-hero {
  padding: 46px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 12%, rgba(34, 211, 238, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.82));
  box-shadow: var(--shadow);
}

.compact-hero h1 {
  margin: 18px 0 14px;
  max-width: 860px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.compact-hero p {
  max-width: 780px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: #94a3b8;
  font-size: 0.92rem;
}

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

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

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

.category-overview-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-overview-card li a {
  color: #cbd5e1;
}

.category-overview-card li a:hover,
.category-enter:hover {
  color: var(--cyan);
}

.category-enter {
  color: #67e8f9;
  font-weight: 800;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 56px 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(34, 211, 238, 0.32);
}

.rank-num {
  color: #67e8f9;
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
}

.rank-thumb {
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  background: #0f172a;
}

.rank-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rank-main strong,
.rank-main em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-main em {
  color: #94a3b8;
  font-style: normal;
}

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

.detail-head {
  margin-bottom: 20px;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.12), transparent 22rem),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow);
}

.player-card video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), rgba(2, 6, 23, 0.28));
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.big-play {
  width: 78px;
  height: 78px;
  box-shadow: 0 18px 45px rgba(34, 211, 238, 0.25);
  font-size: 2rem;
}

.detail-card,
.info-panel {
  padding: 26px;
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
}

.score-pill {
  color: #fde68a;
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.tag-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: #a5f3fc;
  font-size: 0.9rem;
}

.story-block {
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.story-block h2,
.info-panel h2 {
  margin: 22px 0 10px;
  color: #ffffff;
  font-size: 1.22rem;
}

.story-block h2:first-child,
.info-panel h2:first-child {
  margin-top: 0;
}

.story-block p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 20px;
}

.side-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #0f172a;
  box-shadow: var(--shadow);
}

.info-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-panel dl div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.info-panel dt {
  color: #94a3b8;
}

.info-panel dd {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.site-footer {
  margin-top: 70px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 36px 0;
}

.footer-grid p {
  max-width: 620px;
  margin: 12px 0 0;
  color: #94a3b8;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #cbd5e1;
}

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

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  color: #64748b;
  text-align: center;
}

[data-filter-card].is-hidden {
  display: none;
}

img.is-missing {
  opacity: 0;
}

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

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

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    height: 660px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.04em;
  }

  .hero-control {
    display: none;
  }

  .search-panel,
  .advanced-filter,
  .split-layout,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .panel-block,
  .page-hero {
    padding: 22px;
    border-radius: 22px;
  }

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

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

  .site-nav {
    min-height: 66px;
  }

  .brand-text {
    font-size: 1.15rem;
  }

  .hero {
    height: 620px;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 92px;
  }

  .hero-copy {
    gap: 16px;
  }

  .hero-actions,
  .filter-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .btn,
  .filter-btn,
  .filter-more {
    width: 100%;
  }

  .movie-grid,
  .mini-grid,
  .category-grid,
  .category-overview-grid,
  .search-grid {
    grid-template-columns: 1fr;
  }

  .media-row {
    grid-template-columns: 108px minmax(0, 1fr);
  }

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

  .rank-score {
    grid-column: 3;
  }
}
