:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: rgba(15, 23, 42, 0.78);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --cyan: #22d3ee;
  --cyan-deep: #0891b2;
  --cyan-soft: rgba(34, 211, 238, 0.18);
  --shadow: 0 24px 80px rgba(8, 145, 178, 0.16);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(8, 145, 178, 0.20), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(59, 130, 246, 0.18), transparent 28rem),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

main {
  min-height: 72vh;
  padding-top: 78px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.40));
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(2, 6, 23, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 16px 60px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  color: white;
  box-shadow: 0 0 35px rgba(34, 211, 238, 0.35);
  font-size: 15px;
  padding-left: 2px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 19px;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

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

.nav-link,
.mobile-nav-link {
  color: var(--muted-strong);
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 15px;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #e0fbff;
  background: var(--cyan-soft);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.88);
  color: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.94);
}

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

.mobile-nav-link {
  padding: 13px 14px;
  font-size: 15px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background: #020617;
  isolation: isolate;
}

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

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.04);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.68) 43%, rgba(2, 6, 23, 0.22) 100%),
    linear-gradient(0deg, #020617 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 8vh 0 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--max);
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  background: rgba(8, 145, 178, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero h1,
.hero h2 {
  margin: 18px 0 0;
  max-width: 820px;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 72px);
}

.hero h2 {
  font-size: clamp(30px, 5vw, 58px);
}

.hero-slide:first-child h2 {
  margin-top: 12px;
  color: var(--muted-strong);
  font-size: clamp(22px, 3vw, 36px);
}

.hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted-strong);
  line-height: 1.8;
  font-size: clamp(16px, 2vw, 19px);
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-meta {
  margin-top: 22px;
}

.hero-meta span,
.detail-meta span {
  color: #dff9ff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  display: inline-flex;
  color: #a5f3fc;
  background: rgba(8, 145, 178, 0.14);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
}

.hero-tags {
  margin-top: 14px;
}

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

.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.primary-button {
  padding: 0 22px;
  color: white;
  background: linear-gradient(135deg, var(--cyan-deep), #2563eb);
  box-shadow: 0 18px 42px rgba(8, 145, 178, 0.22);
}

.ghost-button {
  padding: 0 18px;
  color: #dff9ff;
  border: 1px solid rgba(226, 232, 240, 0.18);
  background: rgba(15, 23, 42, 0.62);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  color: white;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-panel {
  position: absolute;
  z-index: 7;
  right: max(24px, calc((100% - var(--max)) / 2));
  bottom: 86px;
  width: min(360px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel > strong {
  display: block;
  margin-bottom: 12px;
}

.section-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2,
.page-hero h1,
.detail-info h1,
.detail-content h2 {
  margin: 12px 0 0;
}

.section-heading h2 {
  font-size: clamp(26px, 3.6vw, 40px);
}

.section-heading p,
.page-hero p,
.detail-info p,
.detail-content p {
  color: var(--muted-strong);
  line-height: 1.9;
}

.row-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

.text-link {
  color: var(--cyan);
  min-height: auto;
  padding: 8px 0;
}

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

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

.movie-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.70));
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.28);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 26px 72px rgba(8, 145, 178, 0.16);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}

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

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

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent 58%);
}

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.type-badge {
  right: 12px;
  top: 12px;
  color: white;
  background: rgba(2, 6, 23, 0.74);
  border: 1px solid rgba(226, 232, 240, 0.18);
  padding: 5px 9px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #06131a;
  background: var(--cyan);
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: rgba(8, 145, 178, 0.86);
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.36);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

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

.card-body strong {
  color: white;
  font-size: 17px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-body em {
  min-height: 44px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-meta {
  color: #64748b;
  font-size: 12px;
}

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

.movie-card-featured:first-child {
  grid-column: span 2;
}

.movie-card-featured:first-child .card-cover {
  aspect-ratio: 2.08 / 1;
}

.category-section,
.ranking-section {
  border-radius: 34px;
  padding-left: 28px;
  padding-right: 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(30, 41, 59, 0.42));
  border: 1px solid var(--line);
}

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

.category-tile {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.78);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.34);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  overflow: hidden;
  border-radius: 16px;
}

.category-covers img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.category-tile strong {
  font-size: 18px;
}

.category-tile em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
  font-size: 14px;
}

.rank-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 38px 72px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 17px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  transform: translateX(3px);
  background: rgba(15, 23, 42, 0.98);
}

.rank-number {
  color: var(--cyan);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 72px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-item strong,
.rank-item em {
  display: block;
}

.rank-item strong {
  font-size: 14px;
  line-height: 1.45;
}

.rank-item em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.page-hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 32px auto 0;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.58)),
    radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.18), transparent 24rem);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
  max-width: 820px;
  font-size: 17px;
}

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip-link {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid var(--line);
}

.chip-link.active,
.chip-link:hover {
  color: #e0fbff;
  background: var(--cyan-soft);
  border-color: rgba(34, 211, 238, 0.28);
}

.category-preview-list {
  display: grid;
  gap: 48px;
}

.filter-box {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px 170px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
}

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

.filter-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.filter-box input,
.filter-box select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  color: white;
  outline: none;
  background: rgba(2, 6, 23, 0.70);
  padding: 0 12px;
}

.filter-box input:focus,
.filter-box select:focus {
  border-color: rgba(34, 211, 238, 0.60);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.movie-card.is-hidden {
  display: none;
}

.detail-page {
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto 0;
}

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

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

.detail-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.54)),
    radial-gradient(circle at 90% 20%, rgba(34, 211, 238, 0.18), transparent 26rem);
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  background: #111827;
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.detail-info h1 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.18;
}

.detail-info p {
  font-size: 17px;
  max-width: 820px;
}

.detail-meta,
.detail-tags {
  margin-top: 16px;
}

.detail-info .primary-button {
  width: max-content;
  margin-top: 26px;
}

.player-section {
  padding-bottom: 0;
}

.player {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 24px 86px rgba(0, 0, 0, 0.42);
  aspect-ratio: 16 / 9;
}

.player-video,
.player-cover,
.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-video {
  z-index: 1;
  object-fit: contain;
  background: #000;
}

.player-cover {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.72;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(2, 6, 23, 0.18));
}

.player-glow {
  position: absolute;
  z-index: 4;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.22);
  filter: blur(16px);
}

.player-button {
  position: relative;
  z-index: 5;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  color: white;
  background: linear-gradient(135deg, var(--cyan-deep), #2563eb);
  box-shadow: 0 0 44px rgba(34, 211, 238, 0.42);
  font-size: 30px;
}

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

.detail-content {
  display: grid;
  gap: 16px;
  padding: 42px;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.72);
}

.detail-content h2 {
  font-size: 26px;
}

.detail-content p {
  margin: 0;
  font-size: 16px;
}

.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.74), rgba(2, 6, 23, 0.98));
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) 1fr 1fr;
  gap: 40px;
}

.footer-brand p,
.footer-links a,
.footer-bottom {
  color: var(--muted);
}

.footer-brand p {
  line-height: 1.8;
  max-width: 360px;
}

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

.footer-links div {
  display: grid;
  gap: 10px;
}

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

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

  .rank-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: none;
  }
}

@media (max-width: 860px) {
  main {
    padding-top: 70px;
  }

  .header-inner {
    height: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

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

  .hero-content {
    padding-bottom: 94px;
  }

  .hero-arrow {
    display: none;
  }

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

  .movie-card-featured:first-child {
    grid-column: span 2;
  }

  .row-heading,
  .filter-box,
  .detail-hero,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .row-heading {
    display: grid;
  }

  .detail-poster img {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .detail-content {
    padding: 26px;
  }
}

@media (max-width: 560px) {
  .brand-text em {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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

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

  .hero-content {
    width: calc(100% - 24px);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions a,
  .detail-info .primary-button {
    width: 100%;
  }

  .section-wrap,
  .page-hero,
  .detail-page {
    width: calc(100% - 24px);
  }

  .section-wrap {
    padding: 38px 0;
  }

  .category-section,
  .ranking-section {
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 24px;
  }

  .movie-grid,
  .compact-grid,
  .catalog-grid,
  .category-grid,
  .rank-main {
    gap: 12px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body strong {
    font-size: 14px;
  }

  .card-body em,
  .tag-row {
    display: none;
  }

  .type-badge {
    font-size: 11px;
    right: 8px;
    top: 8px;
  }

  .detail-hero {
    padding: 16px;
  }

  .player {
    border-radius: 18px;
  }

  .player-button {
    width: 68px;
    height: 68px;
    font-size: 24px;
  }
}
