:root {
  --bg: #f8fafc;
  --bg-soft: #eff6ff;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e2e8f0;
  --white: #ffffff;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --orange: #f97316;
  --purple: #7c3aed;
  --green: #16a34a;
  --dark: #0f172a;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 30px rgba(37, 99, 235, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
}

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, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1800px;
  min-height: 80px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 26px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
  transition: transform 0.25s ease;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: #334155;
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.nav-link:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  color: #334155;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.global-search {
  position: relative;
  flex: 0 1 360px;
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.global-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  color: var(--text);
  background: transparent;
}

.global-search button {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.search-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: 520px;
  overflow: auto;
  padding: 10px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.search-panel.active {
  display: block;
}

.search-result {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.search-result:hover {
  background: #f8fafc;
}

.search-result img {
  width: 66px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
}

.search-result strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.search-result span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-stage {
  position: relative;
  min-height: 85vh;
  padding: 16px;
  overflow: hidden;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 50%;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.22), transparent 36%), radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.20), transparent 32%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  height: calc(85vh - 32px);
  min-height: 580px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
  background: #0f172a;
  isolation: isolate;
  transform: translateZ(0);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-card:hover img {
  transform: scale(1.1);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.46) 42%, rgba(0, 0, 0, 0.92));
  z-index: 1;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 42px;
  color: #fff;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #facc15;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.75;
}

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.26);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.btn-soft {
  color: var(--blue);
  background: #dbeafe;
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

main {
  overflow: hidden;
}

.section-block {
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 32px;
}

.section-block.flush {
  max-width: none;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 950;
  color: var(--text);
}

.section-title .title-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #facc15);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.section-intro {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e2e8f0;
}

.movie-card.compact .poster-wrap {
  aspect-ratio: 16 / 10;
}

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

.movie-card:hover .poster-wrap img {
  transform: scale(1.1);
}

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  transition: opacity 0.25s ease;
}

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--orange);
}

.card-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  min-height: 2.8em;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.movie-card:hover .card-title {
  color: var(--blue);
}

.card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.card-tags,
.meta-tags,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span,
.meta-tags span,
.footer-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #1d4ed8;
  background: #dbeafe;
}

.card-meta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.card-meta a {
  color: var(--blue);
  font-weight: 900;
}

.featured-strip {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  color: #fff;
}

.featured-poster {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
}

.featured-poster img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.featured-text h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.featured-text p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.85;
}

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

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 26px;
  background: #0f172a;
  box-shadow: var(--shadow-soft);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.55s ease;
}

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

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.90));
}

.category-content {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.category-content h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 950;
}

.category-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.rank-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 46px 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-soft);
}

.rank-num {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.rank-item img {
  width: 76px;
  height: 98px;
  object-fit: cover;
  border-radius: 14px;
  background: #e2e8f0;
}

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

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 900;
}

.rank-info em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.rank-heat {
  color: var(--orange);
  font-weight: 900;
}

.page-hero {
  max-width: 1600px;
  margin: 0 auto;
  padding: 72px 32px 38px;
}

.page-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 52px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #0891b2 55%, #0f172a);
  box-shadow: var(--shadow);
}

.page-hero-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 330px;
  height: 330px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.page-hero-panel h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 950;
}

.page-hero-panel p {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.85;
}

.filter-panel {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 200px 160px 160px;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  outline: 0;
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
}

.empty-message {
  display: none;
  padding: 32px;
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.empty-message.active {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 800;
}

.detail-layout {
  max-width: 1800px;
  margin: 0 auto;
  padding: 34px 32px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
}

.player-card,
.detail-card,
.sidebar-card {
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
  object-fit: contain;
  z-index: 1;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(2, 6, 23, 0.68));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-core {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  padding-left: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, background 0.25s ease;
}

.player-overlay:hover .play-core {
  transform: scale(1.08);
  background: rgba(37, 99, 235, 0.82);
}

.detail-card {
  margin-top: 22px;
  padding: 30px;
}

.detail-card h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  font-weight: 950;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #1d4ed8;
  font-weight: 900;
  background: #dbeafe;
}

.detail-card h2,
.sidebar-card h2 {
  margin: 28px 0 14px;
  font-size: 24px;
  font-weight: 950;
}

.detail-card p {
  margin: 0 0 18px;
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
}

.sidebar-card {
  padding: 22px;
  position: sticky;
  top: 108px;
}

.side-list {
  display: grid;
  gap: 14px;
}

.side-link {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.side-link:hover {
  background: #eff6ff;
  transform: translateX(4px);
}

.side-link img {
  width: 86px;
  height: 66px;
  object-fit: cover;
  border-radius: 14px;
  background: #e2e8f0;
}

.side-link strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 900;
}

.side-link span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

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

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.footer-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 38px;
}

.footer-brand {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 950;
}

.footer-about p,
.footer-list a,
.footer-bottom {
  color: rgba(219, 234, 254, 0.86);
}

.footer-about p {
  max-width: 430px;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

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

.footer-list a:hover {
  color: #fff;
}

.footer-tags span {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  max-width: 1800px;
  margin: 0 auto;
  padding: 22px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1280px) {
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .global-search {
    flex-basis: 280px;
  }

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

@media (max-width: 1024px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    padding-top: 12px;
    flex-wrap: wrap;
  }

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

  .global-search {
    order: 3;
    flex: 1 0 100%;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-grid {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 460px;
  }

  .featured-strip,
  .rank-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

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

@media (max-width: 760px) {
  .brand-name {
    font-size: 22px;
  }

  .brand-subtitle {
    display: none;
  }

  .section-block,
  .page-hero,
  .detail-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-stage {
    padding: 10px;
  }

  .hero-card {
    min-height: 430px;
    border-radius: 22px;
  }

  .hero-content {
    padding: 26px;
  }

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

  .card-body {
    padding: 14px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-body p,
  .card-tags {
    display: none;
  }

  .section-heading {
    display: block;
  }

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

  .rank-item {
    grid-template-columns: 36px 62px minmax(0, 1fr);
  }

  .rank-item img {
    width: 62px;
    height: 82px;
  }

  .rank-heat {
    display: none;
  }

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

  .detail-card {
    padding: 22px;
  }

  .play-core {
    width: 82px;
    height: 82px;
    font-size: 32px;
  }

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

@media (max-width: 420px) {
  .movie-grid,
  .category-grid,
  .recommend-grid {
    grid-template-columns: 1fr;
  }
}
