* {
  box-sizing: border-box;
}

:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-300: #fda4af;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --pink-50: #fdf2f8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-soft: 0 18px 45px rgba(225, 29, 72, 0.12);
  --shadow-card: 0 12px 30px rgba(17, 24, 39, 0.10);
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--rose-50), var(--orange-50) 48%, var(--pink-50));
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.96), rgba(255, 247, 237, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

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

.logo-link,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.25);
  font-size: 14px;
}

.logo-text {
  font-size: 24px;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.desktop-nav a,
.mobile-panel a {
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: var(--rose-500);
}

.search-form,
.mobile-search,
.wide-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-form input,
.mobile-search input,
.wide-search input,
.page-filter-input {
  border: 1px solid rgba(209, 213, 219, 0.9);
  outline: none;
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gray-800);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-form input {
  width: 230px;
}

.search-form input:focus,
.mobile-search input:focus,
.wide-search input:focus,
.page-filter-input:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.search-form button,
.mobile-search button,
.wide-search button,
.btn-primary,
.btn-small {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-500));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(244, 63, 94, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-form button:hover,
.mobile-search button:hover,
.wide-search button:hover,
.btn-primary:hover,
.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(244, 63, 94, 0.28);
}

.menu-toggle {
  display: none;
  border: none;
  background: rgba(244, 63, 94, 0.10);
  color: var(--rose-600);
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
}

.mobile-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-panel a {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  height: 590px;
  overflow: hidden;
  background: var(--gray-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

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

.hero-slide img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.42) 52%, rgba(17, 24, 39, 0.14));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  right: 24px;
  bottom: 70px;
  max-width: 720px;
  color: #ffffff;
}

.hero-kicker,
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-500));
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.24);
}

.hero-kicker {
  padding: 7px 16px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span,
.detail-tags a {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

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

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

.quick-search-band,
.content-section,
.page-shell,
.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-search-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 26px;
  align-items: center;
  margin-top: 34px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.quick-search-band h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.quick-search-band p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.8;
}

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

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

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-icon {
  width: 46px;
  height: 46px;
  font-size: 20px;
  border-radius: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--gray-600);
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 22px;
  color: #ffffff;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.16));
}

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

.category-tile span,
.category-tile p {
  position: absolute;
  left: 18px;
  right: 18px;
}

.category-tile span {
  bottom: 60px;
  font-weight: 850;
  font-size: 20px;
}

.category-tile p {
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(17, 24, 39, 0.14);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

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

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

.play-badge,
.rank-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 850;
}

.play-badge {
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.3);
}

.rank-badge {
  left: 10px;
  top: 10px;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 14px;
}

.card-title,
.rank-title {
  display: block;
  font-weight: 850;
  color: var(--gray-900);
  line-height: 1.35;
}

.card-title {
  min-height: 2.7em;
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--gray-500);
  font-size: 12px;
}

.card-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--rose-50);
}

.card-tags {
  margin-top: 10px;
}

.card-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--rose-600);
  background: var(--rose-100);
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
}

.ranking-list,
.aside-card,
.poster-card,
.detail-card,
.player-card,
.filter-panel,
.category-card-large,
.search-summary {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.ranking-list {
  padding: 12px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 34px 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.ranking-row:hover {
  background: var(--rose-50);
}

.ranking-row span {
  font-weight: 900;
  color: var(--rose-500);
}

.ranking-row img {
  width: 56px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
}

.ranking-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row em {
  color: var(--gray-500);
  font-style: normal;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--rose-600);
  font-weight: 800;
}

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

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

.page-shell {
  padding: 34px 0 60px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 56px;
  color: #ffffff;
  background: linear-gradient(120deg, var(--rose-500), var(--orange-500));
  box-shadow: var(--shadow-soft);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.page-hero h1 {
  position: relative;
  margin: 12px 0;
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
  position: relative;
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 20px;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--rose-600);
  font-weight: 700;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

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

.category-card-images img {
  height: 124px;
  object-fit: cover;
  border-radius: 14px;
}

.category-card-large h2 {
  margin: 4px 0 10px;
  font-size: 25px;
}

.category-card-large p {
  color: var(--gray-600);
  line-height: 1.7;
}

.btn-small {
  display: inline-flex;
  padding: 9px 15px;
  margin-top: 4px;
}

.filter-panel {
  margin: 24px 0;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 16px;
  align-items: center;
}

.filter-chip {
  border: none;
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--gray-700);
  background: #ffffff;
  cursor: pointer;
  font-weight: 750;
  box-shadow: inset 0 0 0 1px var(--gray-200);
}

.filter-chip.active,
.filter-chip:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.18);
}

.page-grid {
  padding-top: 0;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.rank-poster {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 2 / 3;
}

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

.rank-poster span {
  position: absolute;
  left: 8px;
  top: 8px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  font-weight: 900;
}

.rank-card p {
  color: var(--gray-600);
  line-height: 1.65;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
}

.watch-column {
  min-width: 0;
}

.player-card {
  overflow: hidden;
  margin-bottom: 22px;
}

.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
  outline: none;
}

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

.movie-player {
  display: block;
  background: #000000;
}

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

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

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

.play-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  font-size: 30px;
  box-shadow: 0 18px 42px rgba(244, 63, 94, 0.34);
}

.detail-card {
  padding: 26px;
}

.detail-tags a,
.detail-tags span {
  color: var(--rose-600);
  background: var(--rose-100);
}

.detail-card h1 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.detail-lead {
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin: 18px 0;
}

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

.text-block h2,
.aside-card h2 {
  margin: 24px 0 10px;
  font-size: 22px;
}

.text-block p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.9;
}

.detail-aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.poster-card,
.aside-card {
  padding: 18px;
}

.poster-card > img {
  border-radius: 18px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.poster-card dl {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.poster-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}

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

.poster-card dd {
  margin: 0;
  color: var(--gray-800);
  font-weight: 750;
  text-align: right;
}

.genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.genre-list li {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--rose-600);
  background: var(--rose-100);
  font-size: 13px;
}

.aside-link {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.aside-link:hover {
  background: var(--rose-50);
}

.aside-link img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.aside-link span {
  color: var(--gray-800);
  font-weight: 750;
  line-height: 1.4;
}

.related-section {
  width: 100%;
}

.search-page-form {
  margin-top: 26px;
  max-width: 680px;
}

.search-summary {
  margin: 24px 0;
  padding: 18px 22px;
  color: var(--gray-600);
  line-height: 1.8;
}

.search-summary strong {
  color: var(--rose-600);
}

.site-footer {
  margin-top: 60px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 30px;
  padding: 50px 0;
}

.footer-logo {
  margin-bottom: 16px;
  font-size: 22px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

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

.site-footer a:hover {
  color: var(--rose-300);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

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

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

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

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

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

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

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-shell {
    gap: 14px;
  }

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

  .hero {
    height: 520px;
  }

  .hero-content {
    left: 22px;
    bottom: 66px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search-band,
  .filter-panel,
  .category-card-large,
  .rank-card {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .category-card-images img {
    height: 110px;
  }

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

@media (max-width: 520px) {
  .nav-shell,
  .mobile-panel,
  .quick-search-band,
  .content-section,
  .page-shell,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    height: 490px;
  }

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

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

  .category-grid,
  .movie-grid,
  .mini-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .card-body {
    padding: 12px;
  }

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

  .ranking-row {
    grid-template-columns: 28px 46px minmax(0, 1fr);
  }

  .ranking-row em {
    display: none;
  }

  .play-ring {
    width: 68px;
    height: 68px;
  }
}
