html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #020617;
  color: #ffffff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input {
  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(22, 78, 99, 0.96), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #06b6d4;
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.42);
  font-size: 18px;
  color: #ffffff;
}

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

.brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: #67e8f9;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a,
.section-heading a,
.category-samples a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.section-heading a:hover,
.category-samples a:hover {
  color: #67e8f9;
}

.nav-search,
.mobile-search,
.search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input,
.search-panel input,
.filter-search input {
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  padding: 0 15px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.nav-search input {
  width: 180px;
}

.nav-search input:focus {
  width: 245px;
}

.nav-search input::placeholder,
.mobile-search input::placeholder,
.search-panel input::placeholder,
.filter-search input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.nav-search input:focus,
.mobile-search input:focus,
.search-panel input:focus,
.filter-search input:focus {
  border-color: #22d3ee;
  background: rgba(255, 255, 255, 0.16);
}

.nav-search button,
.mobile-search button,
.search-panel button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(90deg, #06b6d4, #0891b2);
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  font-size: 22px;
}

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

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

.mobile-nav nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero-carousel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 12%, rgba(6, 182, 212, 0.22), transparent 34%), linear-gradient(180deg, #020617, #0f172a);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-background,
.detail-backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15);
  opacity: 0.30;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.74), rgba(2, 6, 23, 0.30)), linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.20) 42%, rgba(2, 6, 23, 0.80) 100%);
}

.hero-content {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 56px;
  padding: 72px 0;
}

.hero-copy {
  max-width: 760px;
}

.hero-eyebrow,
.page-eyebrow,
.section-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.32);
  background: rgba(6, 182, 212, 0.14);
  color: #a5f3fc;
  font-size: 13px;
  font-weight: 650;
}

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, #06b6d4, #0891b2);
  box-shadow: 0 15px 32px rgba(6, 182, 212, 0.28);
}

.btn-secondary {
  color: #ffffff;
  background: linear-gradient(90deg, #f97316, #ea580c);
  box-shadow: 0 15px 32px rgba(249, 115, 22, 0.24);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
}

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

.hero-poster {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 4 / 5.5;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.86);
  font-size: 13px;
  font-weight: 800;
}

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

.hero-dots button {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #22d3ee;
}

.feature-strip {
  padding: 34px 0;
  background: #020617;
}

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

.feature-box,
.category-card,
.category-overview-block,
.detail-side-card,
.detail-article {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background: rgba(30, 41, 59, 0.50);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.feature-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.feature-box strong {
  font-size: 22px;
}

.feature-box span {
  color: #cbd5e1;
  line-height: 1.65;
}

.feature-box.cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.20), rgba(8, 145, 178, 0.10));
  border-color: rgba(6, 182, 212, 0.30);
}

.feature-box.orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.20), rgba(234, 88, 12, 0.10));
  border-color: rgba(249, 115, 22, 0.30);
}

.feature-box.pink {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.20), rgba(219, 39, 119, 0.10));
  border-color: rgba(236, 72, 153, 0.30);
}

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

.slate-band {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.58), rgba(30, 41, 59, 0.52));
}

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

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

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

.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: 18px;
}

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.movie-card-link:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.40);
  background: rgba(30, 41, 59, 0.76);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}

.movie-card-cover {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.movie-card-cover img {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.movie-card-year,
.movie-card-play {
  position: absolute;
  border-radius: 999px;
  font-weight: 800;
}

.movie-card-year {
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.70);
  color: #ffffff;
  font-size: 12px;
}

.movie-card-play {
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #06b6d4;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.42);
}

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

.movie-card-body h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 700;
}

.movie-card-body p {
  margin: 10px 0 0;
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-compact .movie-card-body h2 {
  font-size: 16px;
}

.movie-card-compact .movie-card-body p {
  font-size: 13px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 48px 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(249, 115, 22, 0.40);
}

.rank-number {
  font-size: 20px;
  font-weight: 900;
  color: #fb923c;
  text-align: center;
}

.rank-item img {
  width: 64px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
  background: #0f172a;
}

.rank-copy {
  min-width: 0;
}

.rank-copy strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-copy em {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}

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

.category-mini-grid,
.category-overview-list {
  display: grid;
  gap: 18px;
}

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

.category-card {
  padding: 20px;
}

.category-card span,
.category-overview-head span {
  color: #fb923c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.category-card h2,
.category-overview-head h2 {
  margin: 8px 0;
  font-size: 22px;
  font-weight: 900;
}

.category-card p,
.category-overview-head p {
  color: #cbd5e1;
  line-height: 1.65;
}

.category-samples {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  color: #67e8f9;
}

.page-main,
.detail-main {
  min-height: 70vh;
  background: linear-gradient(180deg, #020617, #0f172a 45%, #020617);
}

.page-hero {
  position: relative;
  padding: 76px 0 58px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 10%, rgba(6, 182, 212, 0.24), transparent 32%), linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 780px;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.75;
}

.category-overview-list {
  padding: 56px 0;
}

.category-overview-block {
  padding: 26px;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(15, 23, 42, 0.70);
}

.filter-actions,
.sort-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-actions button,
.sort-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  color: #d1d5db;
  background: rgba(51, 65, 85, 0.68);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-actions button.is-active,
.sort-actions button.is-active,
.filter-actions button:hover,
.sort-actions button:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #f97316, #ea580c);
  transform: translateY(-1px);
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 62px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.76)), linear-gradient(0deg, #020617, rgba(2, 6, 23, 0.52));
}

.detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f172a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 4 / 5.5;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: #67e8f9;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-line {
  max-width: 760px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.38), rgba(2, 6, 23, 0.78));
  cursor: pointer;
  z-index: 3;
}

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

.play-circle {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 999px;
  background: #06b6d4;
  box-shadow: 0 0 36px rgba(6, 182, 212, 0.52);
  font-size: 34px;
}

.player-overlay span:last-child {
  font-size: 18px;
  font-weight: 900;
}

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

.detail-article,
.detail-side-card {
  padding: 28px;
}

.detail-article h2,
.detail-side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 900;
}

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

.detail-article p {
  margin: 0;
  color: #d1d5db;
  line-height: 1.92;
  font-size: 17px;
}

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

.detail-side-card dt {
  color: #67e8f9;
  font-size: 13px;
  font-weight: 900;
}

.detail-side-card dd {
  margin: 4px 0 0;
  color: #e5e7eb;
  line-height: 1.55;
}

.search-panel {
  margin-top: 28px;
  max-width: 720px;
}

.search-panel input {
  flex: 1;
}

.search-empty {
  padding: 48px;
  border-radius: 22px;
  text-align: center;
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.site-footer {
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

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

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

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

.site-footer h2 {
  margin: 0 0 14px;
  color: #67e8f9;
  font-size: 16px;
  font-weight: 900;
}

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

.footer-bottom {
  padding: 18px 16px 24px;
  text-align: center;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

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

  .hero-content {
    gap: 32px;
  }

  .hero-poster,
  .detail-cover {
    max-width: 330px;
  }

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

  .large-rank-list,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-subtitle {
    display: none;
  }

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

  .hero-content {
    padding: 42px 0 82px;
  }

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

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

  .hero-poster,
  .detail-cover {
    max-width: 240px;
  }

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

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

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

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

  .movie-card-body p {
    font-size: 12px;
  }

  .category-overview-head,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-article,
  .detail-side-card,
  .category-overview-block {
    padding: 20px;
  }

  .rank-item {
    grid-template-columns: 40px 54px minmax(0, 1fr);
  }

  .rank-item img {
    width: 54px;
    height: 72px;
  }

  .search-panel,
  .mobile-search {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 440px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }
}
