:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --amber: #d97706;
  --amber-dark: #b45309;
  --amber-soft: #fffbeb;
  --orange-soft: #fff7ed;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 45%, #f8fafc 100%);
  min-height: 100vh;
}

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

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

img.is-missing {
  opacity: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(18px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-shadowed {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.nav-shell,
.footer-shell,
.section-block,
.split-layout,
.quick-search-block,
.category-overview-grid,
.search-page-panel,
.detail-shell,
.detail-content,
.player-section,
.pagination,
.library-entry {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.25);
  font-size: 14px;
}

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

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 260px;
}

.nav-search input,
.mobile-search input,
.quick-search-card input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.quick-search-card input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.nav-search button,
.mobile-search button,
.quick-search-card button,
.primary-btn,
.ghost-btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button,
.mobile-search button,
.quick-search-card button,
.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.22);
}

.ghost-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.nav-search button:hover,
.mobile-search button:hover,
.quick-search-card button:hover,
.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #374151;
  margin: 4px auto;
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
}

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

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

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

main {
  padding-top: 68px;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: #111827;
}

.hero-stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  margin-left: max(16px, calc((100% - 1180px) / 2));
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  color: #fbbf24;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-content p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.7;
  max-width: 700px;
}

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

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

.hero-tags span,
.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 750;
}

.hero-tags span {
  color: #fde68a;
  background: rgba(217, 119, 6, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.tag-row span,
.detail-meta span {
  color: #92400e;
  background: var(--amber-soft);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

.quick-search-block,
.section-block,
.split-layout,
.category-overview-grid,
.search-page-panel,
.detail-content,
.player-section,
.library-entry {
  padding: 52px 0 0;
}

.quick-search-card,
.feature-band,
.library-entry,
.page-hero,
.story-card,
.ranking-panel,
.category-overview-card a {
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quick-search-card {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 24px;
  align-items: center;
  padding: 30px;
}

.quick-search-card h2,
.section-heading h2,
.story-card h2,
.library-entry h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.quick-search-card p,
.section-heading p,
.story-card p,
.library-entry p,
.category-overview-card p {
  color: var(--muted);
  line-height: 1.75;
}

.quick-search-card form {
  display: flex;
  gap: 10px;
}

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

.section-heading p {
  margin: 8px 0 0;
}

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

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

.category-tile {
  min-height: 136px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  border: 1px solid #fed7aa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.movie-card:hover,
.category-overview-card a:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.category-tile span {
  font-size: 22px;
  font-weight: 850;
}

.category-tile small {
  color: #92400e;
  line-height: 1.55;
}

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

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

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

.movie-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #92400e);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72));
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.play-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #fff;
  background: rgba(217, 119, 6, 0.92);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-chip {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.card-body {
  padding: 14px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.card-body h3 a:hover {
  color: var(--amber);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.card-meta span + span::before {
  content: "•";
  margin-right: 8px;
  color: #d1d5db;
}

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

.feature-band {
  display: grid;
  grid-template-columns: 0.95fr 1.5fr;
  gap: 26px;
  align-items: center;
  padding: 34px;
  margin-top: 52px;
  background: linear-gradient(135deg, #fffbeb, #fff7ed 50%, #ffffff);
  border: 1px solid #fed7aa;
}

.feature-copy span {
  color: var(--amber);
  font-weight: 900;
}

.feature-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  margin: 12px 0;
}

.feature-copy p {
  color: var(--muted);
  line-height: 1.75;
}

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

.split-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.72fr;
  gap: 24px;
  align-items: start;
}

.split-main {
  width: 100%;
  padding-top: 0;
}

.ranking-panel {
  padding: 24px;
  position: sticky;
  top: 88px;
}

.small-heading h2 {
  font-size: 28px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f9fafb;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: var(--amber-soft);
  transform: translateX(4px);
}

.rank-num {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: #d97706;
  font-weight: 900;
}

.rank-title {
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info {
  color: var(--muted);
  font-size: 12px;
}

.library-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px;
  margin-top: 52px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
}

.library-entry p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 34px;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.32), transparent 35%), linear-gradient(135deg, #111827, #374151);
  color: #fff;
}

.slim-hero {
  margin-top: 28px;
}

.page-hero span {
  color: #fbbf24;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero p {
  margin: 18px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  font-size: 18px;
}

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

.category-overview-card a {
  display: block;
  padding: 24px;
  min-height: 180px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card h2 {
  margin: 0;
  font-size: 26px;
}

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

.mini-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mini-link-row a {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #92400e;
  font-size: 12px;
}

.filter-bar {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  align-items: center;
}

.wide-filter {
  width: 100%;
  margin: 0 0 24px;
  grid-template-columns: 1fr 220px 220px;
}

.pagination {
  padding: 36px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
}

.pagination a.is-active,
.pagination a:hover {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}

.detail-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  filter: blur(6px);
  transform: scale(1.04);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.52));
}

.detail-shell {
  position: relative;
  z-index: 2;
  padding-top: 46px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 26px;
}

.breadcrumb a:hover {
  color: #fbbf24;
}

.detail-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: end;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #92400e);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

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

.detail-copy h1 {
  max-width: 920px;
}

.detail-one-line {
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
  max-width: 860px;
}

.detail-meta {
  margin: 22px 0 0;
}

.player-section {
  margin-top: -80px;
  position: relative;
  z-index: 5;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.28);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: radial-gradient(circle at center, rgba(217, 119, 6, 0.22), rgba(0, 0, 0, 0.62));
  cursor: pointer;
  z-index: 2;
}

.play-circle {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  font-size: 34px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.38);
}

.play-overlay strong {
  font-size: 20px;
}

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

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.story-card {
  padding: 28px;
}

.story-card h2 {
  font-size: 28px;
}

.story-card p {
  margin-bottom: 0;
  color: #4b5563;
}

.search-page-panel {
  padding-top: 34px;
}

.site-footer {
  margin-top: 72px;
  padding: 48px 0;
  background: #111827;
  color: rgba(255, 255, 255, 0.76);
}

.footer-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.footer-brand {
  color: #fff;
  font-size: 22px;
}

.footer-shell p {
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
  color: #fbbf24;
}

[data-card].is-hidden {
  display: none;
}

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

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

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

  .split-layout,
  .feature-band,
  .quick-search-card,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }
}

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

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

  .brand-text {
    font-size: 18px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    margin-left: 16px;
    width: calc(100% - 32px);
    justify-content: flex-end;
    padding-bottom: 92px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .quick-search-card,
  .feature-band,
  .library-entry,
  .story-card {
    padding: 22px;
    border-radius: 22px;
  }

  .quick-search-card form,
  .library-entry,
  .mobile-search {
    flex-direction: column;
    align-items: stretch;
  }

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

  .movie-grid,
  .compact-grid,
  .rank-grid,
  .category-grid,
  .category-overview-grid,
  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body p {
    display: none;
  }

  .rank-row {
    grid-template-columns: 34px 1fr;
  }

  .rank-info {
    grid-column: 2;
  }

  .page-hero {
    padding: 38px 22px;
    border-radius: 22px;
  }

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

  .detail-grid {
    grid-template-columns: 128px 1fr;
    gap: 18px;
    align-items: center;
  }

  .detail-hero {
    min-height: 600px;
  }

  .detail-one-line {
    font-size: 16px;
  }

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

  .player-shell {
    border-radius: 18px;
  }

  .play-circle {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .compact-grid,
  .rank-grid,
  .category-grid,
  .category-overview-grid,
  .feature-cards {
    grid-template-columns: 1fr;
  }

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

  .detail-poster {
    width: 170px;
  }
}
