:root {
  --pink: #db2777;
  --pink-dark: #be185d;
  --yellow: #f59e0b;
  --green: #16a34a;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #ca8a04, var(--pink), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  background: linear-gradient(135deg, #facc15, #f9a8d4, #86efac);
  box-shadow: 0 12px 24px rgba(219, 39, 119, 0.24);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.mobile-link {
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f3f4f6;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

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

.mobile-nav {
  display: none;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

.hero-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: radial-gradient(circle at 12% 20%, rgba(250, 204, 21, 0.35), transparent 30%), radial-gradient(circle at 86% 18%, rgba(244, 114, 182, 0.35), transparent 32%), linear-gradient(135deg, #fef3c7 0%, #fce7f3 45%, #dcfce7 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
  padding: 72px 24px 84px;
}

.hero-slide {
  position: absolute;
  inset: 72px 24px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(244, 114, 182, 0.15);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow.green {
  color: var(--green);
  background: rgba(22, 163, 74, 0.12);
}

.eyebrow.dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-desc {
  max-width: 650px;
  margin: 0 0 24px;
  color: #374151;
  font-size: 20px;
}

.hero-tags,
.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.movie-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(229, 231, 235, 0.9);
  font-size: 12px;
  font-weight: 700;
}

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

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  box-shadow: 0 18px 30px rgba(219, 39, 119, 0.25);
}

.secondary-btn,
.ghost-btn {
  color: #111827;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.hero-poster {
  position: relative;
  align-self: stretch;
  min-height: 500px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, #fde68a, #fbcfe8, #bbf7d0);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

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

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45));
}

.hero-poster span {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  font-weight: 900;
}

.hero-dots {
  position: absolute;
  left: 24px;
  bottom: 42px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.22);
  cursor: pointer;
}

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

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 78px 24px;
}

.tinted {
  max-width: none;
  background: linear-gradient(90deg, #f0fdf4, #fefce8);
}

.tinted > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.dark-section {
  max-width: none;
  color: #ffffff;
  background: #111827;
}

.dark-section > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 36px;
}

.section-head.centered {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2,
.page-hero h1,
.detail-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head p,
.page-hero p,
.content-block p,
.detail-line {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-head.light p {
  color: #d1d5db;
}

.text-link {
  color: var(--pink);
  font-weight: 800;
}

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

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

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

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

.movie-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.movie-poster {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fde68a, #fbcfe8, #bbf7d0);
}

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

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.movie-card-body {
  flex: 1;
  padding: 18px;
}

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

.movie-meta-line,
.movie-genre {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.movie-genre {
  color: var(--pink);
}

.movie-card h3,
.rank-item h3 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-desc {
  min-height: 44px;
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-card .movie-desc,
.compact-card .movie-tags {
  display: none;
}

.movie-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.movie-score strong {
  color: #f59e0b;
  font-size: 16px;
}

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

.video-tile {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1f2937;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.video-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78));
}

.video-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #111827;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.video-tile div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.video-tile p {
  margin: 0 0 8px;
  color: #d1d5db;
  font-size: 14px;
}

.video-tile h3 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
}

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

.category-tile {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  min-height: 150px;
}

.category-preview img {
  width: 100%;
  height: 150px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(135deg, #fde68a, #fbcfe8, #bbf7d0);
}

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

.category-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.category-tile > span {
  color: var(--pink);
  font-weight: 800;
}

.page-hero {
  padding: 76px 24px;
  background: linear-gradient(120deg, #fef3c7, #fce7f3, #dcfce7);
}

.page-hero > div {
  max-width: 1280px;
  margin: 0 auto;
}

.ranking-hero {
  background: linear-gradient(120deg, #111827, #831843 48%, #854d0e);
  color: #ffffff;
}

.ranking-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.compact-section {
  padding-bottom: 26px;
}

.toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box span {
  color: #374151;
  font-size: 14px;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.12);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chips button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4b5563;
  background: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.filter-chips button.active,
.filter-chips button:hover {
  color: #ffffff;
  border-color: var(--pink);
  background: var(--pink);
}

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

.rank-item {
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.rank-link {
  display: grid;
  grid-template-columns: 64px 86px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 18px;
  padding: 14px;
}

.rank-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  font-weight: 900;
}

.rank-link img {
  width: 86px;
  height: 112px;
  border-radius: 14px;
  object-fit: cover;
  background: linear-gradient(135deg, #fde68a, #fbcfe8, #bbf7d0);
}

.rank-link p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.rank-link > strong {
  color: #f59e0b;
  font-size: 22px;
  text-align: right;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  filter: blur(8px);
  transform: scale(1.04);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.92));
}

.detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px 66px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #d1d5db;
  font-size: 14px;
}

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

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

.detail-poster {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #fde68a, #fbcfe8, #bbf7d0);
}

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

.detail-copy h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 66px);
}

.detail-line {
  max-width: 860px;
  color: #e5e7eb;
  font-size: 20px;
}

.detail-tags {
  margin: 22px 0 30px;
}

.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.detail-section {
  padding-top: 58px;
}

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

.player-panel,
.detail-aside,
.content-block {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.player-panel {
  overflow: hidden;
}

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

.movie-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.45));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.95);
  font-size: 34px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

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

.content-block {
  margin: 18px;
  padding: 24px;
}

.content-block h2,
.detail-aside h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.content-block p {
  color: #374151;
}

.detail-aside {
  height: fit-content;
  padding: 24px;
}

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

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-list span {
  color: var(--muted);
}

.info-list strong {
  text-align: right;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f9fafb;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 38px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

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

.site-footer a {
  color: #4b5563;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 30px;
  color: var(--muted);
  font-size: 14px;
}

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

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

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

  .hero-slide,
  .player-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    min-height: 360px;
  }

  .detail-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    min-height: 62px;
    padding: 0 16px;
  }

  .brand {
    font-size: 18px;
  }

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

  .hero-section,
  .hero-inner {
    min-height: 780px;
  }

  .hero-inner {
    padding: 48px 16px 78px;
  }

  .hero-slide {
    inset: 48px 16px 90px;
    gap: 26px;
  }

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

  .hero-desc,
  .detail-line {
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-btn,
  .secondary-btn,
  .ghost-btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero-poster {
    min-height: 310px;
  }

  .hero-dots {
    left: 16px;
    bottom: 38px;
  }

  .section,
  .page-hero,
  .detail-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-head.row-head {
    display: grid;
  }

  .movie-grid,
  .small-grid,
  .catalog-grid,
  .overlay-grid,
  .category-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .video-tile {
    min-height: 360px;
  }

  .category-preview {
    min-height: 120px;
  }

  .category-preview img {
    height: 120px;
  }

  .rank-link {
    grid-template-columns: 42px 70px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-link > strong {
    display: none;
  }

  .rank-number {
    width: 36px;
    height: 36px;
  }

  .rank-link img {
    width: 70px;
    height: 94px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-poster {
    width: 210px;
  }

  .content-block {
    margin: 12px;
    padding: 18px;
  }

  .player-overlay span {
    width: 66px;
    height: 66px;
    font-size: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 42px 16px;
  }

  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
}

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