
:root {
  --deep-950: #020817;
  --deep-925: #06142b;
  --deep-900: #081b34;
  --deep-850: #0b2441;
  --deep-800: #0f2d4f;
  --ocean-700: #0369a1;
  --ocean-600: #0284c7;
  --ocean-500: #0ea5e9;
  --ocean-400: #38bdf8;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --text: #e6f6ff;
  --muted: #9dccdf;
  --soft: rgba(255, 255, 255, .08);
  --line: rgba(148, 209, 233, .18);
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(14, 165, 233, .18), transparent 34rem),
    radial-gradient(circle at 85% 15%, rgba(20, 184, 166, .16), transparent 32rem),
    linear-gradient(180deg, var(--deep-950), var(--deep-900) 45%, var(--deep-950));
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 72%);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(3, 16, 36, .96), rgba(9, 42, 75, .94), rgba(4, 54, 75, .94));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(2, 10, 24, .45);
  backdrop-filter: blur(16px);
}

.nav-container,
.footer-inner,
.section-block,
.page-shell,
.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-container {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ocean-400), var(--teal-500));
  color: #002038;
  box-shadow: 0 10px 30px rgba(14, 165, 233, .32);
  font-size: 14px;
}

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

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #c2e6f3;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #fff;
  background: rgba(14, 165, 233, .18);
}

.nav-link:hover,
.mobile-nav-link:hover {
  transform: translateY(-1px);
}

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

.nav-search input,
.mobile-search input,
.big-search input,
.filter-box input {
  border: 1px solid rgba(56, 189, 248, .35);
  outline: none;
  color: #fff;
  background: rgba(3, 17, 38, .82);
  border-radius: 15px;
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-search input {
  width: 190px;
  padding: 10px 12px;
}

.nav-search button,
.mobile-search button,
.big-search button {
  border: 0;
  color: #001b2c;
  background: linear-gradient(135deg, var(--ocean-400), var(--teal-400));
  border-radius: 13px;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(20, 184, 166, .25);
}

.nav-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-box input:focus {
  border-color: var(--ocean-400);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .16);
  background: rgba(6, 26, 55, .95);
}

.mobile-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: rgba(14, 165, 233, .16);
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(5, 21, 43, .94);
  border: 1px solid var(--line);
}

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

.mobile-search input {
  width: 100%;
  padding: 11px 12px;
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--deep-950);
}

.hero-carousel > h1 {
  position: absolute;
  z-index: 4;
  left: max(16px, calc((100vw - 1180px) / 2));
  top: 118px;
  max-width: 820px;
  margin: 0;
  font-size: clamp(30px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -.06em;
  text-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
  transition: opacity .75s ease, visibility .75s ease, transform 1.2s ease;
  transform: scale(1.03);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, var(--deep-950), transparent);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 170px;
}

.hero-content h2 {
  max-width: 720px;
  margin: 12px 0 14px;
  font-size: clamp(36px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -.06em;
}

.hero-content p {
  max-width: 620px;
  margin: 0 0 22px;
  color: #d5f0f8;
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-400);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-tags,
.detail-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #bfeef9;
  background: rgba(14, 165, 233, .14);
  border: 1px solid rgba(56, 189, 248, .22);
  font-size: 12px;
}

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

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.primary-btn {
  padding: 12px 20px;
  color: #001726;
  background: linear-gradient(135deg, var(--ocean-400), var(--teal-400));
  box-shadow: 0 16px 36px rgba(14, 165, 233, .25);
}

.ghost-btn {
  padding: 11px 18px;
  color: #d6f7ff;
  border: 1px solid rgba(56, 189, 248, .28);
  background: rgba(5, 28, 58, .66);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(14, 165, 233, .22);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(2, 13, 32, .74);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.hero-prev,
.hero-next {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 0;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 99px;
  transition: width .2s ease, background .2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: linear-gradient(135deg, var(--ocean-400), var(--teal-400));
}

.section-block {
  position: relative;
  z-index: 1;
  padding: 54px 0;
}

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

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading h2,
.page-hero h1,
.detail-intro h1,
.detail-article h2,
.detail-side h2,
.side-panel h2 {
  margin: 0;
  letter-spacing: -.04em;
  line-height: 1.12;
}

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

.section-heading p,
.page-hero p,
.category-tile p,
.card-content p,
.detail-intro p,
.detail-article p,
.footer-inner p {
  color: var(--muted);
}

.text-link {
  color: var(--teal-400);
  padding: 8px 0;
}

.text-link:hover {
  color: #fff;
}

.big-search {
  display: flex;
  max-width: 820px;
  margin: 0 auto;
  padding: 8px;
  background: rgba(4, 22, 46, .72);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.big-search input {
  flex: 1;
  min-width: 0;
  padding: 17px 20px;
  border-radius: 18px;
  font-size: 18px;
}

.big-search button {
  min-width: 132px;
  padding-inline: 22px;
  border-radius: 18px;
}

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

.category-tile {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background-color: rgba(7, 35, 68, .85);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(56, 189, 248, .22), transparent 22rem),
    linear-gradient(135deg, rgba(2, 10, 28, .88), rgba(8, 38, 71, .72));
}

.category-tile-body {
  position: relative;
  z-index: 1;
  padding: 28px;
}

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

.category-sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.category-sample-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: #d8f8ff;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
}

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 44, 79, .76), rgba(5, 24, 50, .92));
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
  transition: transform .24s ease, border .24s ease, box-shadow .24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, .48);
  box-shadow: 0 24px 70px rgba(14, 165, 233, .14);
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background:
    radial-gradient(circle at 50% 28%, rgba(56, 189, 248, .22), transparent 12rem),
    linear-gradient(135deg, rgba(15, 45, 79, .9), rgba(2, 8, 23, .96));
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 8, 23, .86), transparent 58%);
}

.poster-year {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 4px 9px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .58);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #001726;
  background: linear-gradient(135deg, var(--ocean-400), var(--teal-400));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%) scale(.84);
  opacity: 0;
  transition: transform .24s ease, opacity .24s ease;
}

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

.card-content {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--teal-400);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span,
.card-meta a {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card-content h3 {
  margin: 8px 0;
  font-size: 19px;
  line-height: 1.25;
}

.card-content h3 a:hover {
  color: var(--ocean-400);
}

.card-content p {
  min-height: 52px;
  margin: 0 0 12px;
  font-size: 14px;
}

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

.compact-card .card-content p {
  min-height: auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 28px;
  align-items: start;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(10, 44, 79, .66);
  border: 1px solid var(--line);
  transition: transform .2s ease, background .2s ease, border .2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  background: rgba(14, 165, 233, .16);
  border-color: rgba(56, 189, 248, .42);
}

.rank-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #001726;
  background: linear-gradient(135deg, var(--ocean-400), var(--teal-400));
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

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

.page-shell {
  padding-top: 46px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 8%, rgba(20, 184, 166, .24), transparent 26rem),
    linear-gradient(135deg, rgba(10, 44, 79, .9), rgba(4, 18, 39, .96));
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 880px;
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 62px);
}

.page-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: 18px;
}

.small-actions {
  margin-top: 22px;
}

.filter-box {
  margin: 0 0 22px;
}

.filter-box input {
  width: 100%;
  padding: 15px 16px;
  font-size: 17px;
}

.category-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.side-panel,
.detail-side,
.detail-article {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(5, 24, 50, .82);
  box-shadow: var(--shadow);
}

.side-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
}

.side-panel h2,
.detail-side h2 {
  margin-bottom: 18px;
  font-size: 25px;
}

.empty-tip {
  display: none;
  color: var(--muted);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(5, 24, 50, .7);
}

.empty-tip.is-visible {
  display: block;
}

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

.archive-grid a {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(10, 44, 79, .66);
  border: 1px solid var(--line);
  font-weight: 800;
}

.archive-grid a:hover {
  border-color: rgba(56, 189, 248, .5);
  background: rgba(14, 165, 233, .15);
}

.archive-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--muted);
}

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

.detail-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  margin-bottom: 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 15%, rgba(20, 184, 166, .2), transparent 30rem),
    rgba(4, 20, 43, .82);
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, .2), transparent 13rem),
    rgba(6, 26, 55, .88);
}

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

.detail-intro {
  align-self: center;
}

.detail-intro h1 {
  margin-top: 10px;
  font-size: clamp(34px, 5vw, 60px);
}

.detail-intro p {
  max-width: 760px;
  margin: 16px 0;
  font-size: 18px;
}

.player-section {
  margin: 30px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  border: 1px solid rgba(56, 189, 248, .25);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
  aspect-ratio: 16 / 9;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  color: #fff;
  border: 0;
  background-size: cover;
  background-position: center;
  font-size: 18px;
  font-weight: 900;
  z-index: 2;
}

.player-cover.is-hidden {
  display: none;
}

.player-play-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: #001726;
  background: linear-gradient(135deg, var(--ocean-400), var(--teal-400));
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4);
  font-size: 30px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  margin-bottom: 28px;
}

.detail-article {
  padding: 30px;
}

.detail-article h2 {
  margin-top: 28px;
  font-size: 28px;
}

.detail-article h2:first-of-type {
  margin-top: 0;
}

.detail-article p {
  margin: 12px 0 0;
  font-size: 17px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.meta-grid div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(14, 165, 233, .1);
  border: 1px solid rgba(56, 189, 248, .2);
}

.meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.meta-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.detail-side {
  align-self: start;
  position: sticky;
  top: 98px;
  padding: 24px;
}

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

.related-list a {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(14, 165, 233, .1);
  border: 1px solid rgba(56, 189, 248, .18);
}

.related-list a:hover {
  border-color: rgba(56, 189, 248, .46);
}

.related-list span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  background: linear-gradient(180deg, rgba(3, 16, 36, .4), rgba(2, 8, 23, .96));
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 42px 0;
}

.footer-inner p {
  max-width: 640px;
  margin: 14px 0 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px 18px;
}

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: rgba(205, 236, 247, .7);
  border-top: 1px solid var(--line);
}

.is-filtered-out {
  display: none !important;
}

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

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

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

  .side-panel,
  .detail-side {
    position: static;
  }

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

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

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

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

  .hero-carousel > h1 {
    top: 104px;
    max-width: calc(100% - 32px);
  }

  .hero-content {
    padding-top: 210px;
  }

  .hero-content h2 {
    font-size: clamp(32px, 12vw, 58px);
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-heading {
    display: block;
  }

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

  .page-hero {
    padding: 34px 24px;
    border-radius: 26px;
  }

  .detail-head {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(260px, 100%);
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-container,
  .footer-inner,
  .section-block,
  .page-shell,
  .hero-content,
  .footer-bottom,
  .mobile-nav {
    width: min(100% - 24px, 1180px);
  }

  .site-logo span:last-child {
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

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

  .hero-actions,
  .big-search {
    display: grid;
  }

  .big-search button {
    min-height: 50px;
  }

  .category-grid,
  .movie-grid,
  .mini-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-meta {
    grid-column: 2;
  }

  .detail-head,
  .detail-article,
  .detail-side {
    padding: 20px;
  }

  .player-shell {
    border-radius: 18px;
  }

  .player-play-icon {
    width: 72px;
    height: 72px;
  }
}
