:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --amber-400: #fbbf24;
  --red-500: #ef4444;
  --white: #ffffff;
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.16);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--gray-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}

.brand-text strong,
.footer-logo {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text small {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}

.nav-links a,
.mobile-panel a {
  color: #e2e8f0;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.mobile-panel a:hover {
  color: #93c5fd;
}

.quick-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 300px;
}

.quick-search input,
.hero-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  outline: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gray-900);
  padding: 11px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input:focus,
.hero-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.quick-search button,
.hero-search button,
.filter-bar button {
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--blue-600);
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 750;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quick-search button:hover,
.hero-search button:hover,
.filter-bar button:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 14px 16px 18px;
  background: var(--slate-800);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.mobile-panel.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 16% 15%, rgba(59, 130, 246, 0.35), transparent 26%), linear-gradient(135deg, var(--slate-950), #0b2a69 48%, var(--slate-800));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.2) 1px, transparent 0);
  background-size: 34px 34px;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: 44px;
  min-height: 640px;
  padding: 70px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(14px);
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 760px;
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: 19px;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: min(620px, 100%);
  margin-bottom: 24px;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34);
}

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

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

.ghost-btn.light {
  color: var(--gray-900);
  border-color: var(--gray-200);
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
}

.hero-stats div,
.feature-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 28px;
}

.hero-stats span {
  color: #cbd5e1;
  font-size: 13px;
}

.hero-carousel {
  position: relative;
}

.hero-frame {
  position: relative;
  height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.55);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.88));
}

.hero-slide-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.hero-slide-copy span {
  display: inline-block;
  color: #bfdbfe;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-slide-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
}

.hero-slide-copy p {
  margin: 0;
  color: #dbeafe;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

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

.hero-dot.is-active {
  background: var(--blue-500);
}

.feature-strip {
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

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

.feature-item {
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.feature-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.feature-item span {
  color: var(--gray-600);
  font-size: 14px;
}

.content-section {
  padding: 70px 0;
  background: var(--white);
}

.soft-bg {
  background: var(--gray-50);
}

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

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

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

.section-link {
  color: var(--blue-600);
  font-weight: 800;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: var(--shadow-lg);
}

.movie-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 6, 23, 0.78));
  opacity: 0.9;
}

.movie-year {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  color: var(--white);
  background: rgba(2, 6, 23, 0.68);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.movie-hover-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 32px;
  opacity: 0;
  background: rgba(2, 6, 23, 0.2);
  transition: opacity 0.24s ease;
}

.movie-card:hover .movie-hover-play {
  opacity: 1;
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.movie-tag {
  align-self: flex-start;
  color: var(--blue-700);
  background: var(--blue-50);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 16px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-line {
  color: var(--gray-600) !important;
}

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

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--slate-900);
  box-shadow: var(--shadow-md);
  padding: 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

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

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

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(37, 99, 235, 0.56));
}

.category-card span,
.category-card h3,
.category-card p {
  position: relative;
  z-index: 2;
}

.category-card span {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 54px;
  background: rgba(255, 255, 255, 0.12);
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.category-card p {
  margin: 0;
  color: #dbeafe;
}

.two-column-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.ranking-list,
.ranking-full {
  display: grid;
  gap: 14px;
}

.rank-card,
.rank-full-card {
  display: grid;
  grid-template-columns: auto 74px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover,
.rank-full-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.rank-index,
.rank-medal {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-radius: 12px;
  font-weight: 900;
}

.rank-card img,
.rank-full-card img {
  width: 74px;
  height: 98px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--gray-200);
}

.rank-card h3,
.rank-full-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
}

.rank-card p,
.rank-full-card p,
.rank-full-card span {
  display: block;
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(120deg, var(--slate-950), #0b2a69, var(--slate-800));
  padding: 64px 0;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 820px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
}

.crumb {
  margin: 0 0 14px !important;
  color: #bfdbfe !important;
  font-size: 14px !important;
}

.crumb a {
  color: #dbeafe;
  font-weight: 800;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 150px 170px 170px auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 14px;
}

.filter-empty {
  display: none;
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-600);
  background: var(--gray-50);
  padding: 24px;
  text-align: center;
}

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

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

.category-preview {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 22px;
}

.preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.preview-title h2 {
  margin: 0;
}

.preview-title a {
  color: var(--blue-600);
  font-weight: 800;
}

.detail-top {
  color: var(--white);
  background: radial-gradient(circle at 8% 12%, rgba(59, 130, 246, 0.28), transparent 28%), linear-gradient(120deg, var(--slate-950), #0b2a69, var(--slate-800));
  padding: 40px 0 70px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.5);
  background: var(--slate-900);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-info h1 {
  margin: 16px 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 860px;
  margin: 0 0 20px;
  color: #dbeafe;
  font-size: 19px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-row span {
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 750;
}

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

.detail-meta div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  padding: 14px;
}

.detail-meta dt {
  color: #bfdbfe;
  font-size: 13px;
}

.detail-meta dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.player-section {
  padding: 56px 0;
  background: var(--slate-950);
  color: var(--white);
}

.player-section h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), rgba(2, 6, 23, 0.54));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

.player-play {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.5);
  font-size: 34px;
  transform: translateX(3px);
}

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

.article-card,
.side-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.article-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.article-card p {
  margin: 0 0 26px;
  color: var(--gray-700);
  font-size: 17px;
}

.side-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--gray-700);
}

.side-card a {
  color: var(--blue-600);
  font-weight: 800;
}

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

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

.sitemap-group {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 22px;
}

.sitemap-group h2 {
  margin: 0 0 14px;
}

.sitemap-group h2 a {
  color: var(--blue-600);
}

.sitemap-group ul {
  columns: 2;
  gap: 20px;
  margin: 0;
  padding-left: 18px;
}

.sitemap-group li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.sitemap-group a {
  color: var(--gray-800);
}

.sitemap-group span {
  color: var(--gray-500);
  font-size: 12px;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.site-footer h3,
.footer-logo {
  color: var(--white);
  margin: 0 0 14px;
}

.site-footer p {
  margin: 0;
  color: #94a3b8;
}

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

.site-footer a:hover {
  color: #93c5fd;
}

.footer-bottom {
  margin-top: 42px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding: 20px;
  color: #94a3b8;
  text-align: center;
}

.is-filtered-out {
  display: none !important;
}

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

  .nav-links {
    gap: 14px;
  }

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

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

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

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

  .hero-layout {
    min-height: auto;
    padding: 54px 0;
  }

  .hero-frame {
    height: 460px;
  }

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

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

  .detail-cover {
    max-width: 300px;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-text small {
    display: none;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

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

  .hero-frame {
    height: 420px;
    border-radius: 22px;
  }

  .hero-stats,
  .feature-grid,
  .category-grid,
  .filter-bar,
  .detail-meta {
    grid-template-columns: 1fr;
  }

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

  .movie-card-body {
    padding: 12px;
  }

  .movie-card h3 {
    font-size: 14px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .rank-card,
  .rank-full-card {
    grid-template-columns: auto 58px minmax(0, 1fr);
  }

  .rank-card img,
  .rank-full-card img {
    width: 58px;
    height: 78px;
  }

  .sitemap-group ul {
    columns: 1;
  }

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