
:root {
  --golden-50: #fffbeb;
  --golden-100: #fef3c7;
  --golden-200: #fde68a;
  --golden-300: #fcd34d;
  --golden-400: #fbbf24;
  --golden-500: #f59e0b;
  --golden-600: #d97706;
  --golden-700: #b45309;
  --golden-800: #92400e;
  --golden-900: #78350f;
  --sunshine-50: #fff8ed;
  --sunshine-100: #fff3e0;
  --sunshine-500: #ffa726;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-warm: 0 2px 8px rgba(245, 158, 11, 0.15);
  --shadow-golden: 0 4px 14px rgba(251, 191, 36, 0.39);
  --shadow-golden-lg: 0 8px 24px rgba(251, 191, 36, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--golden-50), #ffffff 45%, var(--sunshine-50));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.page-main {
  padding-top: 64px;
}

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

.container.narrow {
  width: min(960px, calc(100% - 32px));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(135deg, var(--golden-400), var(--golden-500), var(--golden-600));
  box-shadow: var(--shadow-golden);
}

.nav-shell {
  width: min(1280px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon,
.footer-brand span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.brand-text {
  font-size: 1.25rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

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

.mobile-link {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  position: relative;
  min-height: 650px;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #fbbf24, #f59e0b 42%, #d97706 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.28), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(255, 247, 237, 0.24), transparent 22%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.02));
}

.hero-bg-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -150px;
  bottom: -160px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(8px);
}

.hero-track {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
}

.hero-slide {
  min-height: 650px;
  display: none;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 56px;
  padding: 72px 0;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeIn 0.5s ease both;
}

.hero-copy h1 {
  margin: 16px 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--golden-100);
}

.hero-desc {
  width: min(720px, 100%);
  margin: 0 0 22px;
  color: var(--golden-100);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-list span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--golden-700);
  background: #ffffff;
  box-shadow: var(--shadow-golden-lg);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(120, 53, 15, 0.35);
  transform: rotate(1.5deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster span {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--golden-300);
  font-weight: 800;
}

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

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

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

.sub-hero {
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, var(--golden-400), var(--golden-500), var(--golden-600));
  padding: 72px 0 54px;
  overflow: hidden;
  position: relative;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.24), transparent 28%);
}

.sub-hero .container {
  position: relative;
  z-index: 2;
  padding: 0;
}

.sub-hero h1 {
  margin: 12px 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.sub-hero p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--golden-100);
  font-size: 1.1rem;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.1;
}

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

.section-more {
  flex: 0 0 auto;
  color: var(--golden-700);
  font-weight: 800;
}

.category-band {
  padding-bottom: 24px;
}

.category-band.compact {
  padding-top: 20px;
}

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

.category-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--gray-800);
  background: #ffffff;
  box-shadow: var(--shadow-warm);
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.category-chip:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--golden-400), var(--golden-500), var(--golden-600));
  box-shadow: var(--shadow-golden);
  transform: translateY(-2px);
}

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

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

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

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

.movie-card-wrap {
  min-width: 0;
}

.movie-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-warm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.cover-box {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--golden-100);
}

.cover-box img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .cover-box img,
.movie-card:hover .row-cover img {
  transform: scale(1.08);
}

.duration,
.rank-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.rank-badge {
  left: 10px;
  right: auto;
  background: var(--golden-500);
  color: #ffffff;
}

.card-body,
.row-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.card-body strong,
.row-info strong {
  color: var(--gray-900);
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-line,
.row-info > span:nth-child(3) {
  color: var(--gray-600);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pill {
  align-self: flex-start;
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--golden-700);
  background: var(--golden-100);
  font-size: 0.78rem;
  font-weight: 800;
}

.pill.light {
  color: #ffffff;
  background: var(--golden-500);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.card-meta em {
  font-style: normal;
}

.movie-card-large {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
}

.movie-card-large .cover-box,
.movie-card-large img {
  height: 100%;
}

.movie-card-large img {
  aspect-ratio: 16 / 10;
}

.large-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.58), transparent);
}

.large-card-overlay strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.large-card-overlay > span:not(.pill):not(.card-meta) {
  color: #e5e7eb;
  font-size: 0.95rem;
}

.large-card-overlay .card-meta {
  color: #e5e7eb;
  justify-content: flex-start;
}

.warm-panel {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 48px;
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.sunshine-panel {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 58px;
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--sunshine-100), var(--golden-100));
}

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

.category-card a {
  display: block;
  height: 100%;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-warm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--golden-400), var(--golden-600));
  box-shadow: var(--shadow-golden);
}

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

.category-card p {
  color: var(--gray-600);
  margin: 0 0 16px;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-samples a {
  display: inline-flex;
  padding: 4px 0;
  color: var(--golden-700);
  background: transparent;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-warm);
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 14px;
  align-items: end;
}

.filter-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--gray-700);
  font-weight: 800;
  font-size: 0.9rem;
}

.filter-row input,
.filter-row select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
}

.filter-row input:focus,
.filter-row select:focus {
  border-color: var(--golden-400);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
}

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

.movie-card-row {
  display: flex;
  min-height: 148px;
}

.row-cover {
  position: relative;
  flex: 0 0 190px;
  overflow: hidden;
  background: var(--golden-100);
}

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

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

.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.04);
  opacity: 0.42;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(120, 53, 15, 0.74));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--golden-200);
  font-size: 0.92rem;
  margin-bottom: 42px;
}

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

.detail-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.detail-title-row h1 {
  margin: 12px 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.04;
}

.detail-title-row p {
  max-width: 860px;
  margin: 0;
  color: var(--golden-100);
  font-size: 1.1rem;
}

.score-card {
  flex: 0 0 auto;
  padding: 16px 20px;
  border-radius: 22px;
  color: var(--golden-200);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 1.15rem;
}

.score-card strong {
  font-size: 2rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: var(--shadow-golden-lg);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12));
  color: #ffffff;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--golden-400), var(--golden-600));
  box-shadow: var(--shadow-golden-lg);
  font-size: 2rem;
  padding-left: 4px;
}

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

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  text-align: center;
}

.detail-card,
.sticky-panel {
  margin-top: 22px;
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-warm);
}

.detail-card h2,
.sticky-panel h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.detail-card p {
  color: var(--gray-700);
}

.lead-text {
  font-style: italic;
  color: var(--gray-600);
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--gray-200);
}

.detail-meta-row span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--golden-700);
  background: var(--golden-100);
  font-weight: 800;
  font-size: 0.86rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
  padding: 16px;
  border-radius: 18px;
  background: var(--gray-50);
}

.info-grid div {
  min-width: 0;
}

.info-grid span {
  display: block;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.info-grid strong {
  display: block;
  overflow: hidden;
  color: var(--gray-900);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-list span {
  color: var(--golden-700);
  background: var(--golden-100);
}

.review-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.detail-side {
  min-width: 0;
}

.sticky-panel {
  position: sticky;
  top: 88px;
  margin-top: 0;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.related-list .movie-card-row {
  min-height: 112px;
}

.related-list .row-cover {
  flex-basis: 130px;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, var(--golden-800), var(--golden-900));
}

.footer-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 30px;
}

.footer-grid h3 {
  margin: 0 0 14px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--golden-200);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(253, 230, 138, 0.25);
  text-align: center;
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .grid-6 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero-track,
  .hero-slide {
    min-height: auto;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 54px 0 82px;
  }

  .hero-poster {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .movie-grid,
  .featured-grid,
  .grid-4,
  .grid-6,
  .category-card-grid,
  .ranking-list,
  .detail-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .detail-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .sticky-panel {
    position: static;
  }

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

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

  .warm-panel,
  .sunshine-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .movie-grid,
  .featured-grid,
  .grid-4,
  .grid-6,
  .category-card-grid,
  .ranking-list,
  .footer-grid,
  .category-chip-grid {
    grid-template-columns: 1fr;
  }

  .category-chip-grid {
    gap: 10px;
  }

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

  .movie-card-row {
    min-height: 128px;
  }

  .row-cover {
    flex-basis: 138px;
  }

  .row-info {
    padding: 12px;
  }

  .detail-card,
  .sticky-panel {
    padding: 20px;
  }

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

  .play-overlay span {
    width: 68px;
    height: 68px;
    font-size: 1.55rem;
  }
}
