:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.74);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --brand: #10b981;
  --brand-deep: #059669;
  --gold: #facc15;
  --danger: #f43f5e;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.2), transparent 34rem),
    radial-gradient(circle at 88% 20%, rgba(59, 130, 246, 0.16), transparent 36rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.84);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #34d399);
  color: #052e22;
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(16, 185, 129, 0.16);
}

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
}

.top-search input,
.filter-panel input,
.filter-panel select,
.search-strip input {
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.top-search input {
  width: 150px;
  padding: 6px 8px 6px 12px;
}

.top-search button,
.search-strip button,
.primary-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--brand), #34d399);
  color: #031812;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.24);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.78);
}

main {
  min-height: 70vh;
}

.hero-carousel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

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

.hero-slide {
  opacity: 0;
  visibility: hidden;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.18)),
    var(--hero-image),
    linear-gradient(135deg, #0f172a, #064e3b);
  background-size: cover;
  background-position: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 34%, rgba(16, 185, 129, 0.24), transparent 28rem),
    linear-gradient(0deg, #020617 0%, transparent 28%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin-left: max(24px, calc((100vw - 1240px) / 2));
  padding-top: 152px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #6ee7b7;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1,
.hero-copy h2 {
  font-size: clamp(42px, 7vw, 84px);
  max-width: 12em;
}

.hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
}

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

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

.hero-tags span,
.tag-row span,
.detail-meta span,
.rating {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  color: var(--muted-strong);
  backdrop-filter: blur(10px);
}

.hero-tags span,
.detail-meta span {
  padding: 7px 13px;
}

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

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.48);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-rail {
  position: absolute;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 94px;
  z-index: 4;
  width: 300px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-rail p {
  margin: 0 0 12px;
  color: #a7f3d0;
  font-weight: 800;
}

.hero-rail-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.hero-rail-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.rail-poster,
.rank-poster {
  display: block;
  background-image: var(--cover), linear-gradient(135deg, #064e3b, #111827);
  background-size: cover;
  background-position: center;
}

.rail-poster {
  width: 58px;
  height: 76px;
  border-radius: 12px;
}

.hero-rail-card strong,
.hero-rail-card em {
  display: block;
}

.hero-rail-card strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-rail-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.content-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.search-strip,
.ranking-strip,
.category-preview,
.detail-article,
.player-section .player-wrap,
.category-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-strip {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  gap: 24px;
  align-items: center;
  padding: 30px;
  margin-top: 42px;
}

.search-strip h2,
.ranking-copy h2,
.section-heading h2,
.article-main h2,
.article-side h2 {
  margin: 0;
  color: var(--text);
  line-height: 1.18;
}

.search-strip p,
.section-heading p,
.ranking-copy p,
.article-main p,
.category-tile p,
.page-hero p,
.detail-one-line {
  color: var(--muted-strong);
}

.search-strip form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px;
  background: rgba(2, 6, 23, 0.4);
}

.search-strip input {
  padding: 10px 14px;
}

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

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

.section-heading p {
  margin: 8px 0 0;
}

.section-link {
  flex: 0 0 auto;
  color: #6ee7b7;
  font-weight: 800;
}

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

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

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

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

.movie-card[hidden] {
  display: none;
}

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

.poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 18px;
  background-image: var(--cover), linear-gradient(135deg, #064e3b, #1e293b 50%, #111827);
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.34);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(2, 6, 23, 0.78));
  opacity: 0.86;
}

.card-link:hover .poster,
.wide-link:hover .poster {
  box-shadow: 0 20px 48px rgba(16, 185, 129, 0.18);
  transform: translateY(-4px) scale(1.02);
}

.rating {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.play-icon {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 38px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.card-link:hover .play-icon,
.wide-link:hover .play-icon {
  opacity: 1;
  transform: scale(1);
}

.card-title,
.card-meta,
.card-desc {
  display: block;
}

.card-title {
  margin-top: 12px;
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.card-link:hover .card-title {
  color: #6ee7b7;
}

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

.card-meta i {
  margin: 0 6px;
  font-style: normal;
}

.card-desc {
  display: -webkit-box;
  height: 44px;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  margin-top: 10px;
}

.tag-row span {
  padding: 3px 8px;
  font-size: 12px;
}

.category-preview {
  width: min(1240px, calc(100% - 32px));
  padding: 30px;
  margin-top: 24px;
}

.ranking-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  gap: 28px;
  padding: 34px;
}

.ranking-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
}

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

.movie-card-wide {
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.34);
}

.wide-link {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 12px;
  align-items: center;
}

.poster-wide {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.wide-copy strong,
.wide-copy em,
.wide-copy span {
  display: block;
}

.wide-copy strong {
  color: var(--text);
  font-size: 18px;
}

.wide-copy em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 13px;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.movie-meta b {
  color: var(--gold);
}

.movie-meta span {
  margin-left: 10px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.26), transparent 34rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
}

.compact-hero {
  padding: 86px max(24px, calc((100vw - 1240px) / 2));
}

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

.page-hero p {
  width: min(720px, 100%);
  font-size: 18px;
}

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

.category-card {
  position: relative;
  display: block;
  min-height: 230px;
  overflow: hidden;
  padding: 30px;
}

.category-tile h2 {
  position: relative;
  margin: 0;
  font-size: 30px;
}

.category-tile p,
.category-samples {
  position: relative;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.category-samples a,
.category-samples {
  color: #a7f3d0;
  font-size: 13px;
}

.category-samples a {
  padding: 4px 9px;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
}
.category-entry {
  position: relative;
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #052e22;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), #34d399);
}


.category-glow {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  filter: blur(8px);
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 14px;
  margin-bottom: 28px;
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(15, 23, 42, 0.76);
}

.filter-panel select option {
  color: #0f172a;
}

.rank-section {
  padding-top: 38px;
}

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

.rank-row[hidden] {
  display: none;
}

.rank-row a {
  display: grid;
  grid-template-columns: 72px 88px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.68);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rank-row a:hover {
  border-color: rgba(16, 185, 129, 0.44);
  background: rgba(15, 23, 42, 0.92);
  transform: translateY(-2px);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(59, 130, 246, 0.18));
  color: #a7f3d0;
  font-size: 20px;
  font-weight: 900;
}

.rank-poster {
  width: 88px;
  height: 118px;
  border-radius: 14px;
}

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

.rank-copy strong {
  color: var(--text);
  font-size: 20px;
}

.rank-copy em {
  overflow: hidden;
  color: var(--muted-strong);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy span {
  margin-top: 10px;
  color: var(--muted);
}

.rank-copy b {
  color: var(--gold);
}

.rank-copy i {
  margin-left: 14px;
  font-style: normal;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.97), rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.56)),
    var(--hero-image),
    linear-gradient(135deg, #064e3b, #0f172a);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.detail-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 66px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #6ee7b7;
}

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

.detail-poster {
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background-image: var(--cover), linear-gradient(135deg, #064e3b, #111827);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  font-size: clamp(42px, 7vw, 78px);
}

.detail-one-line {
  max-width: 850px;
  font-size: 20px;
}

.detail-meta {
  margin: 24px 0 0;
}

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

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

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 0;
  background: #000;
}

.movie-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  background-image:
    linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.72)),
    var(--cover),
    linear-gradient(135deg, #064e3b, #111827);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.big-play {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.92);
  color: #031812;
  font-size: 34px;
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.28);
}

.detail-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 30px;
}

.article-main p {
  margin: 12px 0 26px;
  color: var(--muted-strong);
  font-size: 17px;
}

.article-side {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.28);
}

.article-side dl {
  margin: 16px 0 0;
}

.article-side dt {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.article-side dd {
  margin: 4px 0 0;
  color: var(--text);
}

.article-side a {
  color: #6ee7b7;
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.72);
}

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

.footer-inner p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
  color: #6ee7b7;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .top-search {
    display: none;
  }

  .hero-rail {
    display: none;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-link {
    border-radius: 14px;
  }

  .hero-carousel {
    min-height: 580px;
  }

  .hero-copy {
    padding-top: 116px;
  }

  .hero-arrow {
    display: none;
  }

  .search-strip,
  .ranking-strip,
  .detail-article,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(260px, 72vw);
  }

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

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

  .rank-row a {
    grid-template-columns: 48px 72px 1fr;
    gap: 12px;
  }

  .rank-poster {
    width: 72px;
    height: 96px;
  }

  .rank-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 16px;
  }

  .rank-copy em {
    white-space: normal;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .content-section,
  .detail-shell,
  .footer-inner {
    width: min(100% - 22px, 1240px);
  }

  .brand {
    font-size: 18px;
  }

  .hero-carousel {
    min-height: 540px;
  }

  .hero-copy {
    width: calc(100% - 28px);
    margin-left: 14px;
  }

  .hero-tags span,
  .detail-meta span {
    padding: 5px 10px;
    font-size: 13px;
  }

  .movie-grid,
  .hot-grid,
  .catalog-grid,
  .small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .search-strip,
  .ranking-strip,
  .category-preview,
  .detail-article {
    padding: 20px;
  }

  .wide-link {
    grid-template-columns: 92px 1fr;
  }

  .rank-row a {
    grid-template-columns: 38px 1fr;
  }

  .rank-poster {
    display: none;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
