:root {
  --bg: #0f172a;
  --bg-deep: #020617;
  --panel: rgba(30, 41, 59, 0.58);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: #334155;
  --line-soft: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --muted-dark: #64748b;
  --accent: #e2e8f0;
  --accent-dark: #0f172a;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.38);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 42%, #0f172a 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1280px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  color: #0f172a;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.22);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a,
.mobile-nav a,
.mobile-nav button {
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active,
.mobile-nav button:hover {
  color: var(--accent);
  background: rgba(30, 41, 59, 0.82);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-trigger,
.menu-toggle {
  border: 1px solid var(--line);
  background: rgba(30, 41, 59, 0.7);
  color: var(--text-soft);
  border-radius: 10px;
  padding: 8px 12px;
  transition: border 0.2s ease, background 0.2s ease;
}

.search-trigger:hover,
.menu-toggle:hover {
  border-color: #64748b;
  background: #334155;
  color: white;
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  padding: 10px 20px 18px;
  border-top: 1px solid rgba(51, 65, 85, 0.7);
  background: rgba(15, 23, 42, 0.98);
}

.mobile-nav.is-open {
  display: grid;
  gap: 6px;
}

.mobile-nav button {
  border: 0;
  text-align: left;
  background: transparent;
}

.hero-carousel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: #020617;
}

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

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

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

.hero-media {
  background: radial-gradient(circle at 70% 30%, rgba(148, 163, 184, 0.2), transparent 34%), #020617;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-media.has-empty-media img,
.poster-frame.has-empty-media img {
  display: none;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.84) 42%, rgba(15, 23, 42, 0.22) 78%, rgba(15, 23, 42, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 48px));
  min-height: 70vh;
  margin: 0 auto;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px 24px 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.84);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-content h1,
.page-hero h1,
.detail-main h1,
.text-section h1 {
  margin: 16px 0 0;
  color: white;
  line-height: 1.08;
  font-weight: 850;
}

.hero-content h1 {
  font-size: clamp(42px, 7vw, 72px);
  max-width: 720px;
}

.hero-line {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.hero-meta {
  margin-top: 18px;
  font-size: 14px;
}

.hero-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  color: #64748b;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-tags span,
.tag-list span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.72);
  color: var(--text-soft);
  font-size: 12px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-dark);
}

.btn-primary:hover {
  background: white;
}

.btn-secondary,
.btn-ghost {
  background: rgba(30, 41, 59, 0.76);
  color: var(--text-soft);
  border-color: rgba(148, 163, 184, 0.24);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(51, 65, 85, 0.9);
  color: white;
}

.hero-controls {
  position: absolute;
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 30px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-controls button {
  border: 0;
}

.hero-controls > button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.84);
  color: var(--text-soft);
  font-size: 34px;
  line-height: 1;
}

.hero-controls > button:hover {
  background: #334155;
  color: white;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  padding: 0;
  background: #64748b;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-quick-search {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 30px;
  z-index: 5;
  width: min(460px, calc(100% - 48px));
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
}

.hero-quick-search input,
.filter-controls input,
.filter-controls select,
.global-search-input {
  width: 100%;
  border: 1px solid rgba(51, 65, 85, 0.9);
  outline: 0;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
}

.hero-quick-search input {
  min-height: 40px;
  padding: 0 12px;
}

.hero-quick-search button {
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 800;
}

.category-strip,
.content-section,
.page-main,
.detail-page {
  width: min(1280px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 30px 0 0;
}

.category-strip a {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(30, 41, 59, 0.52);
  color: var(--text-soft);
  font-weight: 700;
}

.category-strip a:hover {
  border-color: #64748b;
  color: white;
  background: rgba(51, 65, 85, 0.7);
}

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

.featured-section {
  width: min(1280px, calc(100% - 28px));
  margin-top: 54px;
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: rgba(30, 41, 59, 0.22);
}

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

.section-head h2,
.filter-title h2,
.side-card h2,
.content-panel h2,
.text-section h2,
.sitemap-group h2 {
  margin: 0;
  color: white;
  font-size: 28px;
  line-height: 1.2;
}

.section-head p,
.filter-title p,
.page-hero p,
.text-section p,
.category-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.74);
  color: var(--text-soft);
  font-weight: 700;
}

.section-more:hover {
  background: #334155;
  color: white;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.92);
  border-radius: var(--radius);
  background: rgba(30, 41, 59, 0.34);
  transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-3px);
  border-color: #64748b;
  background: rgba(30, 41, 59, 0.62);
}

.card-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(226, 232, 240, 0.2), transparent 34%), linear-gradient(135deg, #0f172a, #334155);
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.movie-card:hover .poster-frame img,
.category-card:hover img,
.ranking-item:hover img {
  transform: scale(1.05);
}

.type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(15, 23, 42, 0.84);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.play-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 34px;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .play-hover,
.ranking-item:hover .play-hover {
  opacity: 1;
}

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

.movie-card-body h3 {
  min-height: 48px;
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover h3 {
  color: white;
}

.movie-card-body p {
  min-height: 44px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-dark);
}

.movie-card-horizontal .card-link {
  display: flex;
}

.movie-card-horizontal .mini-poster {
  width: 150px;
  flex: 0 0 150px;
  aspect-ratio: 4 / 3;
}

.movie-card-horizontal .movie-card-body h3 {
  min-height: 0;
  -webkit-line-clamp: 1;
}

.page-hero {
  background: radial-gradient(circle at 70% 20%, rgba(148, 163, 184, 0.18), transparent 30%), linear-gradient(135deg, #0f172a, #1e293b 55%, #020617);
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
}

.page-hero-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 58px);
}

.page-main {
  padding-bottom: 76px;
}

.filter-panel {
  margin-top: 42px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.38);
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 0.7fr)) auto;
  gap: 12px;
  margin-top: 20px;
}

.filter-controls input,
.filter-controls select {
  min-height: 44px;
  padding: 0 12px;
}

.filter-controls button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  background: #334155;
  color: var(--text-soft);
  font-weight: 800;
}

.filter-panel .movie-grid {
  margin-top: 24px;
}

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

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

.category-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.36);
  transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: #64748b;
  background: rgba(30, 41, 59, 0.62);
}

.category-card-media {
  border-radius: 16px;
}

.category-card h2 {
  margin: 0;
  font-size: 22px;
}

.ranking-section,
.ranking-board {
  max-width: 900px;
}

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

.ranking-layout .content-section {
  width: 100%;
  padding-top: 50px;
}

.ranking-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-item {
  display: grid;
  grid-template-columns: 48px 90px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(51, 65, 85, 0.86);
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.34);
  transition: border 0.2s ease, background 0.2s ease;
}

.ranking-item:hover {
  border-color: #64748b;
  background: rgba(30, 41, 59, 0.62);
}

.ranking-number {
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.ranking-thumb {
  width: 90px;
  border-radius: 12px;
}

.ranking-copy strong {
  display: block;
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 4px;
}

.ranking-copy span {
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 28px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: white;
}

.detail-page {
  padding-bottom: 76px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.player-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: black;
  box-shadow: var(--shadow);
}

.player-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(2, 6, 23, 0.68));
  color: white;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.92);
  color: #0f172a;
  font-size: 34px;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.48);
}

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

.player-message {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: var(--text-soft);
  text-align: center;
}

.player-message.is-visible {
  display: block;
}

.detail-main h1 {
  margin-top: 28px;
  font-size: clamp(30px, 5vw, 48px);
}

.detail-line {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 20px;
  font-style: italic;
}

.detail-meta {
  margin-top: 18px;
}

.content-panel,
.side-card,
.text-section,
.sitemap-group {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(51, 65, 85, 0.86);
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.36);
}

.content-panel p,
.text-section p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.85;
}

.detail-sidebar {
  position: sticky;
  top: 92px;
}

.side-card dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.side-card dt {
  color: var(--muted);
  font-size: 13px;
}

.side-card dd {
  margin: 3px 0 0;
  color: var(--text-soft);
}

.related-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.related-list .movie-card-horizontal .mini-poster {
  width: 116px;
  flex-basis: 116px;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 8vh 20px;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
}

.search-modal.is-open {
  display: block;
}

.search-dialog {
  width: min(720px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
  padding: 20px;
}

.search-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.search-dialog-head strong {
  font-size: 20px;
}

.search-dialog-head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(51, 65, 85, 0.72);
  color: white;
  font-size: 24px;
}

.global-search-input {
  height: 48px;
  padding: 0 14px;
}

.global-search-results {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  max-height: 58vh;
  overflow: auto;
}

.search-result-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.52);
}

.search-result-item img {
  width: 90px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: #1e293b;
}

.search-result-item strong {
  display: block;
  color: white;
}

.search-result-item span,
.search-result-empty {
  color: var(--muted);
  font-size: 13px;
}

.single-search-row {
  grid-template-columns: 1fr;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.support-grid article {
  padding: 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.38);
}

.sitemap-links {
  columns: 4 220px;
  column-gap: 28px;
  margin-top: 18px;
}

.sitemap-links a {
  display: block;
  break-inside: avoid;
  padding: 5px 0;
  color: var(--text-soft);
  font-size: 14px;
}

.sitemap-links a:hover {
  color: white;
}

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

.footer-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  max-width: 620px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 14px;
}

.footer-nav a:hover {
  color: white;
}

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

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .header-inner,
  .category-strip,
  .content-section,
  .page-main,
  .detail-page,
  .page-hero-inner,
  .footer-inner {
    width: min(100% - 32px, 1280px);
    padding-left: 0;
    padding-right: 0;
  }

  .header-inner {
    height: 60px;
  }

  .brand-text {
    font-size: 17px;
  }

  .hero-content {
    width: 100%;
    min-height: 640px;
    padding: 82px 18px 156px;
  }

  .hero-quick-search {
    left: 16px;
    bottom: 86px;
    width: calc(100% - 32px);
  }

  .hero-controls {
    left: 16px;
    right: 16px;
    bottom: 24px;
    justify-content: space-between;
  }

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

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

  .section-head,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

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

@media (max-width: 560px) {
  .movie-grid,
  .compact-grid,
  .category-grid,
  .support-grid,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal .card-link,
  .ranking-item,
  .search-result-item {
    grid-template-columns: 1fr;
    display: grid;
  }

  .movie-card-horizontal .mini-poster,
  .related-list .movie-card-horizontal .mini-poster {
    width: 100%;
    flex-basis: auto;
  }

  .ranking-item {
    grid-template-columns: 40px 90px 1fr;
  }

  .search-result-item {
    grid-template-columns: 82px 1fr;
  }

  .hero-actions,
  .hero-quick-search {
    flex-direction: column;
  }

  .hero-quick-search button {
    min-height: 40px;
  }
}
