:root {
  --pink: #ec4899;
  --rose: #f43f5e;
  --orange: #f97316;
  --ink: #16131f;
  --muted: #6b6475;
  --soft: #fff1f7;
  --line: #f8cfe0;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 60px rgba(190, 24, 93, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(251, 207, 232, 0.9), transparent 34rem),
    linear-gradient(180deg, #fff7fb 0%, #fff 44%, #fff6ed 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(248, 207, 224, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(190, 24, 93, 0.08);
}

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

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

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--rose), var(--orange));
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.32);
}

.logo-text,
.footer-logo {
  font-size: 1.45rem;
  background: linear-gradient(90deg, var(--pink), var(--rose), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: #4b4656;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--pink);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-line input,
.inline-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 220px;
  padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-line input:focus,
.inline-filter:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.header-search button,
.mobile-search button,
.big-search button {
  border: 0;
  border-radius: 999px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--rose), var(--orange));
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.24);
}

.header-search button,
.mobile-search button {
  padding: 10px 16px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: white;
  color: var(--pink);
  font-size: 1.6rem;
  border-radius: 12px;
  padding: 6px 12px;
  box-shadow: 0 8px 18px rgba(190, 24, 93, 0.12);
}

.mobile-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  min-width: 0;
  flex: 1;
  padding: 12px 14px;
}

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

.mobile-link {
  padding: 10px 12px;
  border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.active {
  background: var(--soft);
}

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

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: #1f0b17;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: center;
  padding: clamp(28px, 6vw, 68px);
  color: white;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 11, 23, 0.86), rgba(136, 19, 55, 0.72), rgba(249, 115, 22, 0.35)),
    var(--hero-bg) center / cover;
  filter: saturate(1.1);
  transform: scale(1.07);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.23), transparent 18rem),
    linear-gradient(180deg, transparent, rgba(31, 11, 23, 0.6));
}

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

.hero-visual,
.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-visual img {
  width: min(410px, 100%);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--pink);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 241, 247, 0.92);
}

.hero-copy h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.35rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.8;
}

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

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #9f1239;
  font-size: 0.8rem;
  font-weight: 800;
  background: #ffe4ef;
}

.hero-tags .tag {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

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

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--rose), var(--orange));
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.32);
}

.ghost-button {
  color: var(--pink);
  background: white;
}

.ghost-button.light {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

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

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

.hero-dots button.active {
  width: 34px;
  background: white;
}

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

.intro-search,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.intro-search {
  padding: 30px;
  border: 1px solid rgba(248, 207, 224, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(190, 24, 93, 0.1);
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading h2,
.intro-search h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.section-heading a,
.hot-panel-head a {
  color: var(--pink);
  font-weight: 900;
}

.intro-search p,
.page-hero p,
.category-card p,
.detail-copy p,
.detail-content p,
.top-rank-card p {
  color: var(--muted);
  line-height: 1.8;
}

.big-search {
  display: flex;
  min-width: min(520px, 100%);
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 14px 34px rgba(190, 24, 93, 0.12);
}

.big-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 16px;
}

.big-search button {
  padding: 0 24px;
}

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

.category-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
  color: white;
  box-shadow: 0 20px 36px rgba(190, 24, 93, 0.13);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.35s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 10, 20, 0.1), rgba(124, 16, 65, 0.78));
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile span,
.category-tile em {
  display: block;
  position: relative;
  z-index: 1;
}

.category-tile span {
  margin-top: 72px;
  font-size: 1.1rem;
  font-weight: 900;
}

.category-tile em {
  margin-top: 4px;
  font-style: normal;
  opacity: 0.85;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 16px 34px rgba(190, 24, 93, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(190, 24, 93, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ffe4ef;
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-mask {
  opacity: 1;
}

.play-icon,
.big-play {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.66);
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 900;
}

.card-body h2 {
  margin: 10px 0 8px;
  font-size: 1.06rem;
  line-height: 1.35;
}

.card-body h2 a:hover {
  color: var(--pink);
}

.card-body p {
  display: -webkit-box;
  min-height: 3.25em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-stats {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  color: #8a8294;
  font-size: 0.82rem;
  font-weight: 700;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.hot-panel {
  position: sticky;
  top: 96px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, white, #fff1f7);
  box-shadow: 0 22px 54px rgba(190, 24, 93, 0.13);
}

.hot-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 900;
}

.rank-row,
.rank-list-row {
  display: grid;
  grid-template-columns: 34px 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid #fee2ef;
}

.rank-row img,
.rank-list-row img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: white;
  font-size: 0.85rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.rank-info,
.rank-title {
  min-width: 0;
}

.rank-info strong,
.rank-title strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em,
.rank-title em {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-hero,
.detail-hero {
  position: relative;
  width: min(1220px, calc(100% - 32px));
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 34px;
  color: white;
  background:
    linear-gradient(135deg, rgba(96, 12, 54, 0.82), rgba(190, 24, 93, 0.72), rgba(249, 115, 22, 0.58)),
    var(--page-bg, none) center / cover,
    linear-gradient(135deg, #881337, #ec4899);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: clamp(36px, 8vw, 74px);
}

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

.page-hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.category-list {
  display: grid;
  gap: 20px;
}

.category-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 16px 38px rgba(190, 24, 93, 0.09);
}

.category-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  overflow: hidden;
  border-radius: 22px;
  background: #ffe4ef;
}

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

.category-card h2 {
  margin: 8px 0 6px;
  font-size: 1.8rem;
}

.category-card span {
  color: var(--pink);
  font-weight: 900;
}

.filter-panel {
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 38px rgba(190, 24, 93, 0.09);
}

.filter-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.filter-line label {
  flex: 0 0 auto;
  font-weight: 900;
}

.filter-line input,
.inline-filter {
  width: min(420px, 100%);
  padding: 12px 16px;
}

.year-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 20px;
}

.year-chips button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: #9f1239;
  font-weight: 900;
  background: #ffe4ef;
  cursor: pointer;
}

.year-chips button.active,
.year-chips button:hover {
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

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

.top-rank-card {
  overflow: hidden;
  padding: 16px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 16px 38px rgba(190, 24, 93, 0.1);
}

.top-rank-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
}

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

.top-rank-poster span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.rank-list {
  overflow: hidden;
  border-radius: 26px;
  background: white;
  box-shadow: 0 16px 38px rgba(190, 24, 93, 0.09);
}

.rank-list-row {
  grid-template-columns: 54px 96px minmax(0, 1fr) 100px;
  padding: 14px 18px;
  border-top: 1px solid #fee2ef;
}

.rank-list-row:first-child {
  border-top: 0;
}

.rank-list-row img {
  width: 96px;
  height: 58px;
}

.rank-score {
  color: var(--pink);
  font-weight: 900;
  text-align: right;
}

.detail-hero {
  min-height: 540px;
  background:
    linear-gradient(90deg, rgba(31, 11, 23, 0.88), rgba(136, 19, 55, 0.68), rgba(249, 115, 22, 0.32)),
    var(--detail-bg) center / cover;
}

.detail-inner {
  padding: clamp(24px, 5vw, 56px);
}

.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: white;
}

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

.detail-poster img {
  width: 320px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.detail-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-copy p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.player-section {
  margin-top: -52px;
  position: relative;
  z-index: 3;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 16 / 9;
  background: #120812;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 20px;
  border: 0;
  color: white;
  text-align: center;
  background: radial-gradient(circle at center, rgba(236, 72, 153, 0.25), rgba(0, 0, 0, 0.64));
  cursor: pointer;
}

.player-cover strong {
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.player-cover em {
  font-style: normal;
  opacity: 0.76;
}

.player-box.playing .player-cover {
  display: none;
}

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

.detail-content article,
.detail-content aside {
  padding: 26px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 16px 38px rgba(190, 24, 93, 0.09);
}

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

.detail-content article p + h2 {
  margin-top: 28px;
}

.detail-content dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0;
}

.detail-content dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-content dd {
  margin: 0;
  font-weight: 800;
}

.site-footer {
  margin-top: 72px;
  color: white;
  background: linear-gradient(135deg, #881337, #be185d, #c2410c);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.footer-grid a:not(.footer-logo) {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hidden-by-filter {
  display: none !important;
}

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

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

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

  .hero-visual {
    display: none;
  }

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

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

  .two-column,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .hot-panel {
    position: static;
  }
}

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

  .logo-text {
    font-size: 1.18rem;
  }

  .hero-shell,
  .page-hero,
  .detail-hero {
    width: min(100% - 20px, 1220px);
    border-radius: 24px;
  }

  .hero-carousel {
    min-height: 520px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 28px;
  }

  .intro-search,
  .section-heading,
  .filter-line {
    align-items: stretch;
    flex-direction: column;
  }

  .big-search {
    min-width: 0;
    width: 100%;
  }

  .category-grid,
  .movie-grid,
  .compact-grid,
  .top-rank-grid {
    grid-template-columns: 1fr;
  }

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

  .category-cover img {
    height: 100px;
  }

  .rank-list-row {
    grid-template-columns: 42px 76px minmax(0, 1fr);
  }

  .rank-list-row img {
    width: 76px;
    height: 50px;
  }

  .rank-score {
    display: none;
  }

  .detail-layout {
    gap: 24px;
  }

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

  .player-section {
    margin-top: -24px;
  }

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