:root {
  --rose-50: #fff1f4;
  --rose-100: #ffe4ea;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --blue-50: #eff6ff;
  --blue-600: #2563eb;
  --cyan-50: #ecfeff;
  --amber-50: #fffbeb;
  --orange-50: #fff7ed;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 18px 42px rgba(17, 24, 39, 0.12);
  --shadow-lg: 0 26px 80px rgba(225, 29, 72, 0.22);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--gray-900);
  background:
    radial-gradient(circle at top left, rgba(244, 63, 94, 0.14), transparent 38vw),
    linear-gradient(180deg, #fff7fa 0%, #ffffff 34%, #f9fafb 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 241, 244, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(244, 63, 94, 0.14);
  box-shadow: 0 6px 24px rgba(225, 29, 72, 0.08);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.32);
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark,
.footer-brand:hover .brand-mark {
  transform: rotate(10deg) scale(1.04);
}

.brand-text,
.footer-brand span:last-child {
  font-size: 1.35rem;
  background: linear-gradient(135deg, var(--rose-600), var(--pink-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rose-600);
}

.header-search,
.mobile-search,
.hero-search,
.page-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(244, 63, 94, 0.18);
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shadow-sm);
}

.header-search input,
.mobile-search input,
.hero-search input,
.page-search input {
  width: 230px;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--gray-700);
  background: transparent;
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-bar button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.filter-bar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.24);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(244, 63, 94, 0.1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gray-700);
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

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

.mobile-nav,
.mobile-categories,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mobile-link,
.mobile-category-link,
.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--gray-50);
  font-weight: 700;
}

.mobile-link.is-active,
.mobile-link:hover,
.mobile-category-link:hover,
.footer-links a:hover {
  color: var(--rose-600);
  background: var(--rose-50);
}

main {
  min-height: 70vh;
}

.hero {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 34px auto 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--gray-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 5s ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.48) 52%, rgba(17, 24, 39, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 56px;
  color: var(--white);
}

.hero-kicker,
.section-header span,
.page-hero span,
.category-overview-top span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--rose-600);
  background: rgba(255, 228, 234, 0.9);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.hero-content p {
  margin: 18px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

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

.hero-tags span,
.tag-row span,
.detail-meta span,
.side-tags span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--blue-600);
  background: linear-gradient(135deg, var(--blue-50), var(--cyan-50));
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

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

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

.primary-button,
.section-action {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
  box-shadow: 0 14px 32px rgba(244, 63, 94, 0.24);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.section-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(244, 63, 94, 0.28);
}

.block-button {
  width: 100%;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.hero-control.prev {
  left: 18px;
}

.hero-control.next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 56px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

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

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

.hero-side-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(244, 63, 94, 0.14);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

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

.hero-categories,
.category-grid,
.feature-categories {
  display: grid;
  gap: 14px;
}

.category-pill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 116px;
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 244, 0.9)),
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.18), transparent 42%);
  border: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.category-pill span {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--gray-900);
}

.category-pill small {
  color: var(--gray-600);
  line-height: 1.6;
}

.content-section,
.overview-stack {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto 54px;
}

.soft-panel,
.search-panel,
.article-card,
.category-overview-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-sm);
}

.section-header,
.category-overview-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-header h2,
.category-overview-top h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.06em;
}

.section-header p,
.category-overview-top p {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--gray-600);
  line-height: 1.8;
}

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

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

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

.movie-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.82);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.movie-card.is-compact {
  scroll-snap-align: start;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-100), var(--gray-100));
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.55), transparent 58%);
  opacity: 0.86;
}

.poster-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.6rem;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.poster-badge {
  position: absolute;
  top: 12px;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
  background: rgba(17, 24, 39, 0.66);
  backdrop-filter: blur(10px);
}

.poster-badge.left {
  left: 12px;
}

.poster-badge.right {
  right: 12px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.92), rgba(219, 39, 119, 0.92));
}

.card-body {
  padding: 18px;
}

.card-body h2,
.rank-card h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: 1.02rem;
  line-height: 1.45;
}

.card-body h2 a:hover,
.rank-card h2 a:hover {
  color: var(--rose-600);
}

.card-body p,
.rank-card p {
  margin: 10px 0 14px;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  margin-bottom: 14px;
}

.tag-row span {
  padding: 5px 9px;
  font-size: 0.74rem;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--gray-500);
  font-size: 0.84rem;
}

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

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

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

.rank-card {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.86);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.rank-cover {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--rose-100), var(--gray-100));
}

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

.rank-cover strong {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.3);
}

.page-hero {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 34px auto 38px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: var(--radius-xl);
  color: var(--gray-900);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(135deg, rgba(255, 228, 234, 0.98), rgba(239, 246, 255, 0.92));
  border: 1px solid rgba(244, 63, 94, 0.13);
  box-shadow: var(--shadow-md);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.07em;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--gray-600);
  font-size: 1.08rem;
  line-height: 1.85;
}

.category-overview-card {
  margin-bottom: 26px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 0.6fr)) auto;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--gray-700);
  background: var(--white);
  outline: 0;
}

.filter-bar input:focus,
.filter-bar select:focus,
.page-search input:focus,
.header-search input:focus,
.hero-search input:focus {
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.search-empty {
  display: none;
  padding: 30px;
  text-align: center;
  color: var(--gray-600);
  border-radius: 18px;
  background: var(--gray-50);
}

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

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

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

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

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

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

.player-card,
.detail-side-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-md);
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--gray-900);
  overflow: hidden;
}

.player-frame video,
.player-cover,
.player-cover img {
  width: 100%;
  height: 100%;
}

.player-frame video {
  display: block;
  object-fit: contain;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #000000;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

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

.player-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(244, 63, 94, 0.18), transparent 22%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.68), rgba(17, 24, 39, 0.18));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  font-size: 2.6rem;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
  box-shadow: 0 22px 44px rgba(244, 63, 94, 0.35);
  transform: translate(-50%, -50%);
}

.detail-title-block {
  padding: 26px;
}

.detail-title-block h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.detail-title-block p {
  margin: 16px 0 20px;
  color: var(--gray-600);
  font-size: 1.04rem;
  line-height: 1.8;
}

.detail-side-card {
  padding: 18px;
  position: sticky;
  top: 96px;
}

.detail-side-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--rose-100), var(--gray-100));
}

.side-tags {
  margin-bottom: 18px;
}

.detail-content {
  margin-top: 36px;
}

.article-card h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
}

.article-card h2:not(:first-child) {
  margin-top: 28px;
}

.article-card p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.95;
}

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

.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--gray-200);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--gray-100));
}

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

.footer-grid p {
  max-width: 460px;
  color: var(--gray-600);
  line-height: 1.8;
}

.footer-grid h2 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer-links {
  align-items: flex-start;
}

.footer-bottom {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 32px;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
}

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

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

  .hero-stage {
    min-height: 520px;
  }

  .hero-side-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

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

  .detail-side-card {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero-content {
    padding: 38px 28px 58px;
  }

  .hero-control {
    display: none;
  }

  .category-grid,
  .home-rank-list,
  .full-rank-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .section-header,
  .category-overview-top {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .header-inner {
    height: 64px;
  }

  .brand-text,
  .footer-brand span:last-child {
    font-size: 1.08rem;
  }

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

  .hero,
  .content-section,
  .overview-stack,
  .detail-shell,
  .page-hero,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 22px, var(--max-width));
  }

  .hero-stage {
    min-height: 480px;
    border-radius: 22px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-title-block h1 {
    letter-spacing: -0.05em;
  }

  .hero-dots {
    left: 28px;
  }

  .hero-categories,
  .movie-grid,
  .small-grid {
    grid-template-columns: 1fr;
  }

  .rank-card {
    grid-template-columns: 104px 1fr;
  }

  .soft-panel,
  .search-panel,
  .article-card,
  .category-overview-card {
    padding: 18px;
    border-radius: 22px;
  }

  .player-button {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}
