:root {
  color-scheme: light;
  --page-bg: #fff7ed;
  --panel-bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fef3c7;
  --line: #f3d6a0;
  --brand: #d97706;
  --brand-dark: #92400e;
  --brand-light: #f59e0b;
  --shadow: 0 18px 45px rgba(146, 64, 14, 0.14);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 40%, #fffbeb 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 119, 6, 0.18);
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.94), rgba(255, 247, 237, 0.96));
  box-shadow: 0 8px 24px rgba(146, 64, 14, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
}

.brand-title {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #b45309;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 650;
  color: #4b5563;
}

.nav-links a {
  position: relative;
  transition: color 0.22s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--brand-dark);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--brand-dark);
  background: #fef3c7;
  cursor: pointer;
}

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

.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 650;
}

.mobile-menu a:hover {
  background: #fef3c7;
  color: var(--brand-dark);
}

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

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

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

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

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 158, 11, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.06) 100%);
}

.hero-content {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.hero-copy {
  width: min(680px, 100%);
  color: #ffffff;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.95);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.28);
}

.hero-title {
  margin: 18px 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-desc {
  margin: 0 0 24px;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta,
.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.button-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.32);
}

.button-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 18px 36px rgba(146, 64, 14, 0.35);
}

.button-light {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.button-plain {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(146, 64, 14, 0.12);
}

.hero-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.page-hero {
  padding: 58px 0 30px;
}

.page-hero-card {
  border-radius: var(--radius-xl);
  padding: clamp(26px, 5vw, 46px);
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.28), transparent 28%),
    linear-gradient(135deg, #fffbeb, #ffffff 58%, #fff7ed);
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 119, 6, 0.14);
}

.page-title {
  margin: 10px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.035em;
}

.page-desc {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section {
  padding: 38px 0;
}

.section-block {
  margin-bottom: 48px;
}

.section-card {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(217, 119, 6, 0.12);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.section-card.soft-amber {
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.section-card.soft-blue {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.section-card.soft-green {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.section-card.soft-rose {
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

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

.section-heading {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 860;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.more-link {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-weight: 760;
}

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

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(146, 64, 14, 0.18);
}

.movie-card.is-hidden {
  display: none;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

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

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

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

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

.duration-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 760;
  background: rgba(0, 0, 0, 0.72);
}

.duration-badge {
  right: 10px;
  bottom: 10px;
}

.rank-badge {
  left: 10px;
  top: 10px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
}

.movie-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.movie-title {
  margin: 0;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 820;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-one-line {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 13px;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #92400e;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  font-weight: 680;
}

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

.category-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(135deg, #ffffff, #fffbeb);
  box-shadow: 0 14px 34px rgba(146, 64, 14, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(146, 64, 14, 0.16);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 850;
  color: #111827;
}

.category-card p {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
}

.category-arrow {
  margin-top: 18px;
  color: var(--brand-dark);
  font-weight: 780;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
  gap: 14px;
  margin-bottom: 24px;
}

.search-input,
.filter-select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 14px;
  padding: 0 14px;
  outline: none;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(146, 64, 14, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus,
.filter-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.empty-state {
  display: none;
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  border: 1px dashed rgba(217, 119, 6, 0.28);
}

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

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

.list-item {
  display: grid;
  grid-template-columns: 74px 150px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-radius: 18px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.list-item:hover {
  transform: translateX(4px);
  box-shadow: 0 18px 36px rgba(146, 64, 14, 0.14);
}

.list-rank {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
}

.list-cover {
  height: 86px;
  border-radius: 14px;
  overflow: hidden;
  background: #fef3c7;
}

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

.list-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 820;
  color: #111827;
}

.list-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 28px;
  padding: 36px 0 54px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 28px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand-dark);
  font-weight: 720;
}

.player {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 16 / 9;
  background: #111827;
  box-shadow: 0 24px 55px rgba(17, 24, 39, 0.28);
}

.player video {
  width: 100%;
  height: 100%;
  background: #111827;
}

.player-loading,
.player-error,
.player-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  text-align: center;
}

.player-loading {
  background: rgba(0, 0, 0, 0.54);
}

.player-loading.is-hidden,
.player-center.is-hidden,
.player-error.is-hidden {
  display: none;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.24);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.play-big {
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.36);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease;
}

.play-big:hover {
  transform: scale(1.06);
  background: var(--brand-dark);
}

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.player:hover .player-controls,
.player.is-playing .player-controls {
  opacity: 1;
}

.player-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.player-button:hover {
  background: rgba(245, 158, 11, 0.85);
}

.player-spacer {
  flex: 1;
}

.detail-card {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 30px);
  background: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.12);
  box-shadow: var(--shadow);
}

.detail-title {
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.035em;
}

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

.info-box {
  border-radius: 16px;
  padding: 14px;
  background: #fffbeb;
  color: #374151;
}

.info-label {
  display: block;
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 5px;
}

.info-value {
  font-weight: 800;
  color: #111827;
}

.prose-block {
  margin-top: 24px;
}

.prose-block h2,
.prose-block h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 22px;
  font-weight: 850;
}

.prose-block p {
  margin: 0;
  color: #4b5563;
  line-height: 1.9;
}

.side-panel {
  display: grid;
  gap: 20px;
  align-content: start;
}

.side-poster {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fef3c7;
  box-shadow: var(--shadow);
}

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

.related-list {
  display: grid;
  gap: 12px;
}

.related-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(146, 64, 14, 0.14);
}

.related-thumb {
  width: 86px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: #fef3c7;
}

.related-title {
  margin: 0 0 5px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-meta {
  color: #6b7280;
  font-size: 12px;
}

.article-card {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 119, 6, 0.12);
}

.article-card h1,
.article-card h2 {
  margin: 0 0 16px;
  color: #111827;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.article-card h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.article-card h2 {
  margin-top: 28px;
  font-size: 24px;
}

.article-card p {
  color: #4b5563;
  line-height: 1.9;
}

.site-footer {
  margin-top: 40px;
  padding: 42px 0;
  border-top: 1px solid rgba(217, 119, 6, 0.16);
  background: linear-gradient(180deg, #ffffff, #fffbeb);
}

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

.footer-title {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 22px;
  font-weight: 900;
}

.footer-text {
  margin: 0;
  color: #6b7280;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: #4b5563;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.copyright-line {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(217, 119, 6, 0.12);
  color: #9ca3af;
  font-size: 14px;
}

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

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

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

@media (max-width: 760px) {
  .navbar {
    height: 66px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero-carousel,
  .hero-content {
    min-height: 560px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-desc {
    font-size: 16px;
  }

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

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

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

  .list-item {
    grid-template-columns: 52px 92px minmax(0, 1fr);
  }

  .list-item .button {
    grid-column: 2 / -1;
  }

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

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

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

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

  .brand-subtitle {
    display: none;
  }

  .hero-title {
    font-size: 34px;
  }

  .movie-grid,
  .movie-grid.compact,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .list-item {
    grid-template-columns: 44px 78px minmax(0, 1fr);
    gap: 10px;
  }

  .list-cover {
    height: 64px;
  }

  .player-controls {
    opacity: 1;
  }
}
