:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --orange: #f97316;
  --amber: #f59e0b;
  --rose-soft: #fff1f2;
  --orange-soft: #fff7ed;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(236, 72, 153, 0.16);
  --dark: #111827;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.top-ribbon {
  padding: 8px 16px;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--orange), var(--pink), #ef4444);
}

.nav-shell {
  max-width: 1220px;
  height: 72px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.28);
}

.brand-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink-dark), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.desktop-nav a,
.mobile-panel nav a {
  position: relative;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel nav a:hover,
.mobile-panel nav a.active {
  color: var(--pink-dark);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  transform: scaleX(0);
  background: var(--pink-dark);
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-search {
  width: 230px;
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
}

.header-search input,
.mobile-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  background: transparent;
}

.header-search button,
.mobile-search button {
  border: 0;
  padding: 10px 14px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
}

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

.mobile-panel.open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mobile-panel nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f9fafb;
}

.mobile-search {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 10%, #ffe4e6, transparent 28%), linear-gradient(135deg, #fff1f2, #fff7ed 54%, #fef3c7);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.42;
  animation: floatGlow 9s ease-in-out infinite;
}

.glow.one {
  width: 190px;
  height: 190px;
  left: 6%;
  top: 10%;
  background: var(--pink);
}

.glow.two {
  width: 240px;
  height: 240px;
  right: 9%;
  bottom: 14%;
  background: var(--orange);
  animation-delay: 1.5s;
}

.glow.three {
  width: 210px;
  height: 210px;
  left: 36%;
  top: 46%;
  background: var(--amber);
  animation-delay: 0.8s;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -24px, 0) scale(1.08);
  }
}

.hero-track {
  position: relative;
  max-width: 1220px;
  min-height: 660px;
  margin: 0 auto;
  padding: 72px 20px 80px;
}

.hero-slide {
  position: absolute;
  inset: 72px 20px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 420px);
  gap: 54px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(26px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.eyebrow,
.section-heading span,
.page-hero span,
.category-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: #7c2d12;
  background: rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.12);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 22px 0 20px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--pink-dark), var(--orange), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 720px;
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  padding: 6px 10px;
  color: #be185d;
  border-radius: 999px;
  background: #fce7f3;
  font-size: 12px;
  font-weight: 800;
}

.hero-actions,
.center-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 18px 30px rgba(236, 72, 153, 0.26);
}

.btn.ghost {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 14px 26px rgba(17, 24, 39, 0.08);
}

.btn.line {
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid rgba(236, 72, 153, 0.2);
}

.hero-poster {
  position: relative;
  padding: 12px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-poster img {
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  border-radius: 26px;
  background: linear-gradient(135deg, #fce7f3, #ffedd5);
}

.hero-poster span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 12px 14px;
  color: #ffffff;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
  cursor: pointer;
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: #f9a8d4;
  box-shadow: none;
}

.hero-dots button.active {
  width: 28px;
  background: var(--pink-dark);
}

.feature-strip {
  max-width: 1220px;
  margin: -42px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-strip a {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-strip a:hover,
.movie-card:hover,
.category-card:hover,
.ranking-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(236, 72, 153, 0.18);
}

.feature-strip strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
}

.feature-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.content-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 78px 20px;
}

.soft-bg {
  max-width: none;
  padding-left: calc((100vw - min(1220px, 100vw)) / 2 + 20px);
  padding-right: calc((100vw - min(1220px, 100vw)) / 2 + 20px);
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.slim {
  margin: 0 0 24px;
  text-align: left;
}

.section-heading h2,
.page-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 35px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.poster-link img {
  aspect-ratio: 3 / 4.12;
  object-fit: cover;
  background: linear-gradient(135deg, #fce7f3, #ffedd5);
  transition: transform 0.28s ease;
}

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

.poster-year {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.68);
  font-size: 12px;
  font-weight: 900;
}

.card-body {
  padding: 18px;
}

.movie-card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--pink-dark);
}

.movie-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

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

.category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.category-chips a {
  padding: 13px 18px;
  color: #be185d;
  border-radius: 999px;
  background: #fce7f3;
  font-weight: 900;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.category-chips a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  transform: translateY(-2px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.rank-panel,
.side-card,
.search-panel,
.player-card,
.article-block {
  border: 1px solid #f3f4f6;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
}

.rank-panel {
  position: sticky;
  top: 112px;
  padding: 26px;
}

.rank-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.rank-panel li a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f9fafb;
}

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

.rank-title {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 900;
}

.rank-meta {
  grid-column: 2;
  margin-top: -8px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--pink-dark);
  font-weight: 900;
}

.page-hero {
  min-height: 360px;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #fff1f2, #fff7ed 60%, #fef3c7);
}

.page-hero.small {
  min-height: 300px;
}

.page-hero > div {
  max-width: 900px;
}

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

.category-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card a {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
}

.category-card img {
  height: 176px;
  object-fit: cover;
  border-radius: 20px;
  background: linear-gradient(135deg, #fce7f3, #ffedd5);
}

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

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.search-panel {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px;
}

.search-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  outline: 0;
}

.search-panel input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.search-panel button {
  border: 0;
  border-radius: 18px;
  padding: 0 20px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-weight: 900;
}

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

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-weight: 800;
}

.pagination .current {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 16px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  background: linear-gradient(135deg, #fce7f3, #ffedd5);
}

.ranking-number {
  display: inline-flex;
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-weight: 900;
}

.ranking-content h2 {
  margin: 12px 0 10px;
}

.ranking-content p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--dark);
}

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

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

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

.detail-shell {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  min-height: 560px;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.detail-poster img {
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  border-radius: 30px;
  background: linear-gradient(135deg, #fce7f3, #ffedd5);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.detail-info .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.detail-info h1 {
  margin: 22px 0 16px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-info .lead {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.8;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
  background: #000000;
}

.video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.play-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.58), rgba(236, 72, 153, 0.24));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-cover span {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 18px 45px rgba(236, 72, 153, 0.35);
  font-size: 36px;
}

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

.article-block {
  margin-bottom: 26px;
  padding: 28px;
}

.article-block h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.article-block p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 2;
}

.detail-side {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 20px;
}

.side-card {
  padding: 24px;
}

.side-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.side-card li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: #f9fafb;
}

.side-card strong {
  color: #111827;
}

.side-card span {
  color: var(--muted);
  text-align: right;
}

.side-card a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f9fafb;
  color: var(--pink-dark);
  font-weight: 900;
}

.side-card a + a {
  margin-top: 10px;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #1f2937 55%, #111827);
}

.footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  padding: 56px 20px 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 16px;
}

.footer-grid h2 {
  color: transparent;
  background: linear-gradient(90deg, #f9a8d4, #fdba74);
  -webkit-background-clip: text;
  background-clip: text;
}

.footer-grid p,
.footer-grid li,
.footer-bottom {
  color: #cbd5e1;
  line-height: 1.8;
}

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

.footer-grid a:hover {
  color: #f9a8d4;
}

.footer-bottom {
  max-width: 1220px;
  margin: 0 auto;
  padding: 22px 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

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

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

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

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

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

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

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

  .nav-shell {
    height: 64px;
  }

  .brand-text {
    font-size: 20px;
  }

  .hero,
  .hero-track {
    min-height: 820px;
  }

  .hero-slide {
    inset: 36px 20px 96px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-poster {
    max-width: 320px;
    margin: 0 auto;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -24px;
  }

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

  .detail-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 20px;
  }

  .detail-poster {
    max-width: 280px;
  }

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

@media (max-width: 560px) {
  .top-ribbon {
    font-size: 12px;
  }

  .nav-shell {
    padding: 0 14px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-track {
    min-height: 780px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-slide {
    left: 14px;
    right: 14px;
  }

  .hero-actions,
  .detail-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .feature-strip,
  .movie-grid,
  .category-grid,
  .ranking-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip a {
    padding: 18px;
  }

  .content-section {
    padding: 54px 14px;
  }

  .category-card a {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .category-card img {
    height: 132px;
  }

  .search-panel {
    flex-direction: column;
  }

  .search-panel button {
    min-height: 46px;
  }

  .detail-info h1 {
    font-size: 34px;
  }

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

  .footer-bottom {
    display: grid;
  }
}
