
:root {
  --pink-50: #fff1f7;
  --pink-100: #ffe4ef;
  --pink-200: #fecddf;
  --pink-300: #f9a8c8;
  --pink-400: #f472a9;
  --pink-500: #ec4899;
  --rose-500: #f43f5e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-950: #111827;
  --shadow-soft: 0 20px 45px rgba(236, 72, 153, 0.16);
  --shadow-card: 0 14px 34px rgba(17, 24, 39, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 42%, #fff1f7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(244, 114, 182, 0.96), rgba(249, 168, 212, 0.96), rgba(251, 113, 133, 0.96));
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.28);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: var(--pink-500);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.24);
}

.brand-name {
  font-size: 1.35rem;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 650;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  border-color: #ffffff;
}

.nav-search {
  display: flex;
  align-items: center;
  width: 300px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.nav-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 8px 12px;
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.nav-search button {
  border: 0;
  color: var(--pink-500);
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 14px;
  gap: 12px;
}

.mobile-nav a {
  flex: 1;
  color: #ffffff;
  text-align: center;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.mobile-nav.open {
  display: flex;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.home-page {
  width: 100%;
  padding-top: 0;
}

.hero {
  position: relative;
  width: 100%;
  height: clamp(500px, 62vw, 680px);
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #831843 55%, #f472b6);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.9s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 36%, rgba(244, 114, 182, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62) 46%, rgba(17, 24, 39, 0.12)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.92), transparent 48%);
}

.hero-content {
  position: absolute;
  left: max(28px, calc((100% - 1180px) / 2));
  bottom: 78px;
  width: min(680px, calc(100% - 56px));
  color: #ffffff;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff7fb;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(236, 72, 153, 0.86);
  border-radius: 999px;
  padding: 6px 14px;
}

.hero-content h1 {
  margin: 20px 0 14px;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.hero-content p {
  margin: 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
}

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

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

.hero-tags span,
.movie-tags span {
  color: var(--pink-500);
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.primary-button,
.ghost-button,
.section-more,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  padding: 12px 24px;
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.32);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 11px 22px;
  backdrop-filter: blur(10px);
}

.ghost-button.light {
  color: var(--pink-500);
  background: #ffffff;
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.inline-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.48);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

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

.hero-dot.active {
  width: 32px;
  background: #ffffff;
}

.home-search-block {
  width: min(1180px, calc(100% - 32px));
  margin: -54px auto 54px;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 460px);
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.home-search-block h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
}

.home-search-block p {
  margin: 0;
  color: var(--gray-500);
}

.hero-search {
  display: flex;
  gap: 10px;
  padding: 7px;
  border: 1px solid var(--pink-100);
  border-radius: 999px;
  background: var(--pink-50);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 14px;
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 800;
}

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

.page > .content-section {
  width: 100%;
}

.soft-section {
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--pink-50), #ffffff 54%, #ffe4ef);
  box-shadow: inset 0 0 0 1px rgba(236, 72, 153, 0.08);
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pink-100);
}

.section-title h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.18;
}

.section-title p {
  margin: 6px 0 0;
  color: var(--gray-500);
}

.section-more,
.inline-link {
  color: var(--pink-500);
  background: #ffffff;
  border: 1px solid var(--pink-100);
  padding: 9px 16px;
  white-space: nowrap;
}

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

.category-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  color: var(--gray-800);
  background: linear-gradient(145deg, #ffffff, var(--pink-50));
  border: 1px solid var(--pink-100);
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-card strong {
  color: var(--pink-500);
  font-size: 1.25rem;
}

.category-card span {
  color: var(--gray-500);
  font-size: 0.92rem;
}

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

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

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

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.52), transparent 28%),
    linear-gradient(135deg, #831843, #ec4899 58%, #fda4af);
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-image.image-empty {
  display: none;
}

.cover-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.66), rgba(17, 24, 39, 0.06));
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.movie-card:hover .cover-layer {
  opacity: 0.96;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.88);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.34);
}

.movie-info {
  padding: 16px;
}

.movie-title {
  display: -webkit-box;
  min-height: 3em;
  overflow: hidden;
  color: var(--gray-800);
  font-weight: 850;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-title:hover {
  color: var(--pink-500);
}

.movie-desc {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 9px 0 12px;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.movie-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gray-100);
}

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

.movie-card-wide {
  display: grid;
  grid-template-columns: minmax(160px, 42%) 1fr;
}

.movie-card-wide .movie-cover {
  height: 100%;
  aspect-ratio: auto;
}

.page-hero {
  min-height: 310px;
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  padding: 44px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #831843, var(--pink-500) 52%, #fb7185);
  box-shadow: var(--shadow-soft);
}

.page-hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.slim-hero {
  min-height: 260px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--pink-100);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.08);
}

.filter-panel input {
  width: 100%;
  border: 1px solid var(--pink-100);
  outline: 0;
  border-radius: 999px;
  background: var(--pink-50);
  padding: 13px 18px;
}

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

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-actions button {
  border: 0;
  color: var(--pink-500);
  background: var(--pink-50);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
}

.filter-actions button:hover {
  color: #ffffff;
  background: var(--pink-500);
}

.empty-state {
  display: none;
  margin-top: 22px;
  padding: 32px;
  color: var(--gray-500);
  text-align: center;
  border: 1px dashed var(--pink-200);
  border-radius: 24px;
  background: #ffffff;
}

.empty-state.show {
  display: block;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  min-height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #831843, #ec4899);
}

.category-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overview-info {
  padding: 26px;
}

.category-overview-info h2 {
  margin: 0 0 10px;
  color: var(--gray-800);
}

.category-overview-info p {
  margin: 0 0 20px;
  color: var(--gray-500);
}

.category-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.category-shortcuts a {
  color: var(--pink-500);
  background: #ffffff;
  border: 1px solid var(--pink-100);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 750;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.rank-row:hover {
  color: var(--pink-500);
}

.rank-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--pink-500);
  font-weight: 850;
}

.rank-title {
  font-weight: 800;
}

.rank-meta {
  color: var(--gray-500);
  font-size: 0.92rem;
}

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

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

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

.detail-main,
.detail-side {
  min-width: 0;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000000;
  box-shadow: var(--shadow-card);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.5), rgba(17, 24, 39, 0.18));
  cursor: pointer;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  box-shadow: 0 20px 42px rgba(236, 72, 153, 0.36);
  font-size: 2.2rem;
  text-indent: 0.12em;
}

.player-overlay.hidden {
  display: none;
}

.detail-content,
.side-card,
.poster-card {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.detail-content {
  margin-top: 24px;
  padding: 30px;
}

.detail-content h1 {
  margin: 0 0 12px;
  color: var(--gray-800);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.16;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  color: var(--pink-500);
  background: var(--pink-50);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 750;
}

.lead-text {
  color: var(--gray-700);
  font-size: 1.08rem;
}

.detail-tags {
  margin: 18px 0 26px;
}

.article-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.article-block h2 {
  margin: 0 0 12px;
  color: var(--gray-800);
}

.article-block p {
  margin: 0 0 14px;
  color: var(--gray-700);
}

.poster-card {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #831843, #ec4899);
}

.side-card {
  margin-top: 18px;
  padding: 22px;
}

.side-card h2 {
  margin: 0 0 14px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.side-card dt {
  color: var(--gray-500);
}

.side-card dd {
  margin: 0;
  color: var(--gray-800);
  font-weight: 700;
}

.side-card a {
  color: var(--pink-500);
}

.related-section {
  margin-top: 54px;
}

.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #fff1f7, #ffe4ef);
  border-top: 1px solid var(--pink-100);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 34px;
  margin: 0 auto;
  padding: 44px 0 30px;
}

.footer-brand p,
.footer-group a,
.footer-bottom {
  color: var(--gray-500);
}

.footer-logo {
  color: var(--gray-800);
}

.footer-logo .brand-mark {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
}

.footer-brand p {
  max-width: 520px;
}

.footer-group h2 {
  margin: 0 0 14px;
  color: var(--gray-800);
  font-size: 1.1rem;
}

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--pink-200);
  text-align: center;
  font-size: 0.92rem;
}

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

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

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

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

  .detail-side {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
  }

  .side-card {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    height: 62px;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    bottom: 66px;
  }

  .hero-arrow {
    display: none;
  }

  .home-search-block,
  .filter-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-search {
    border-radius: 22px;
    flex-direction: column;
  }

  .hero-search button {
    width: 100%;
  }

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

  .movie-card-wide,
  .category-overview-card,
  .detail-side {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .page,
  .content-section,
  .home-search-block,
  .footer-inner,
  .footer-bottom,
  .site-header-inner,
  .mobile-nav {
    width: min(100% - 22px, 1180px);
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .hero {
    height: 520px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content {
    left: 16px;
    width: calc(100% - 32px);
  }

  .home-search-block,
  .soft-section,
  .page-hero,
  .detail-content {
    padding: 22px;
    border-radius: 24px;
  }

  .section-title {
    display: block;
  }

  .section-more {
    margin-top: 12px;
  }

  .category-grid,
  .movie-grid,
  .wide-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    justify-content: flex-start;
  }

  .player-overlay span {
    width: 70px;
    height: 70px;
  }
}
