* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #111827;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 42%, #fff7ed 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #e11d48 0%, #f97316 54%, #f59e0b 100%);
  box-shadow: 0 12px 30px rgba(159, 18, 57, 0.24);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

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

.nav-link,
.mobile-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.header-search,
.mobile-search,
.large-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.large-search input {
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 10px 14px;
  min-width: 220px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.large-search input::placeholder {
  color: rgba(255, 255, 255, 0.74);
}

.header-search button,
.mobile-search button,
.large-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #ea580c;
  background: #ffffff;
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

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

.mobile-menu nav {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

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

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

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

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

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

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

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 14px;
  color: #ffffff;
  background: linear-gradient(90deg, #e11d48, #f97316);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
  margin: 0;
  font-size: clamp(17px, 2.4vw, 23px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

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

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

.hero-tags span,
.info-tags span,
.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  color: #9f1239;
  background: #ffe4e6;
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.cta-panel div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.primary-button,
.ghost-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, #e11d48, #f97316);
  box-shadow: 0 16px 30px rgba(225, 29, 72, 0.26);
}

.primary-button:hover,
.outline-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(225, 29, 72, 0.32);
}

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

.outline-button {
  color: #ea580c;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #fed7aa;
}

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

.hero-control:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-control.prev {
  left: 24px;
}

.hero-control.next {
  right: 24px;
}

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

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

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

.section-block {
  padding: 64px 0;
}

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

.section-heading h2,
.list-toolbar h2,
.story-card h2,
.info-card h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.18;
  font-weight: 900;
}

.section-heading h2::before,
.list-toolbar h2::before,
.story-card h2::before,
.info-card h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 28px;
  margin-right: 12px;
  border-radius: 999px;
  vertical-align: -4px;
  background: linear-gradient(180deg, #e11d48, #f97316);
}

.section-heading p,
.list-toolbar p {
  margin: 8px 0 0;
  color: #6b7280;
}

.section-heading a {
  color: #ea580c;
  font-weight: 800;
}

.section-heading.light h2,
.section-heading.light p {
  color: #ffffff;
}

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

.category-tile,
.category-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
  min-height: 190px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-panel:hover,
.movie-card:hover,
.podium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

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

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

.category-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(225, 29, 72, 0.9), rgba(249, 115, 22, 0.68), rgba(0, 0, 0, 0.18));
}

.category-tile > span:last-child {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: grid;
  gap: 8px;
}

.category-tile strong,
.category-panel h2 {
  font-size: 22px;
  font-weight: 900;
}

.category-tile em,
.category-panel p {
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  line-height: 1.6;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.66) 100%);
}

.score-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.score-pill {
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.rank-badge {
  left: 10px;
  top: 10px;
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #e11d48, #f97316);
  box-shadow: 0 12px 22px rgba(225, 29, 72, 0.32);
}

.card-body {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.card-body strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-size: 18px;
  line-height: 1.3;
}

.card-meta,
.card-desc {
  color: #6b7280;
  font-size: 14px;
}

.card-desc {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.55;
}

.warm-band {
  background: linear-gradient(90deg, #fff1f2, #fff7ed);
}

.dark-band {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #000000);
}

.poster-row,
.rail-list {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scrollbar-width: none;
}

.poster-row::-webkit-scrollbar,
.rail-list::-webkit-scrollbar {
  display: none;
}

.mini-card {
  width: 178px;
  flex: 0 0 178px;
  display: grid;
  gap: 10px;
  color: #111827;
}

.mini-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  transition: transform 0.25s ease;
}

.mini-card span {
  display: grid;
  gap: 4px;
}

.mini-card strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
}

.mini-card em {
  color: #6b7280;
  font-style: normal;
  font-size: 13px;
}

.rail-list .movie-card.compact {
  width: 260px;
  flex: 0 0 260px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.movie-card.compact .poster-wrap {
  aspect-ratio: 16 / 9;
}

.movie-card.compact .card-body strong,
.movie-card.compact .card-meta,
.movie-card.compact .card-desc {
  color: #ffffff;
}

.cta-panel {
  margin-top: 48px;
  margin-bottom: 72px;
  padding: 48px;
  border-radius: 28px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(90deg, #e11d48, #f97316);
  box-shadow: 0 24px 60px rgba(225, 29, 72, 0.22);
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 44px);
}

.cta-panel p {
  width: min(760px, 100%);
  margin: 0 auto 26px;
  color: #ffe4e6;
  line-height: 1.8;
}

.cta-panel div {
  justify-content: center;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 76px 0;
}

.gradient-hero {
  background: linear-gradient(90deg, #e11d48, #f97316 58%, #f59e0b);
}

.dark-hero {
  background: radial-gradient(circle at 20% 0%, rgba(249, 115, 22, 0.55), transparent 32%), linear-gradient(135deg, #111827, #000000);
}

.category-hero {
  background: linear-gradient(135deg, #e11d48, #f97316);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.8);
}

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

.breadcrumb em {
  color: #ffffff;
  font-style: normal;
}

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

.category-panel {
  display: block;
  min-height: 0;
  color: #111827;
  background: #ffffff;
}

.category-panel-top {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  background: #111827;
}

.category-panel-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-panel-body {
  padding: 24px;
}

.category-panel h2 {
  margin: 0 0 10px;
}

.category-panel p {
  margin: 0 0 16px;
  color: #6b7280;
}

.category-panel span {
  color: #ea580c;
  font-weight: 850;
}

.list-toolbar {
  align-items: center;
}

.toolbar-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 150px;
  gap: 10px;
}

.toolbar-controls input,
.toolbar-controls select {
  width: 100%;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 11px 14px;
  color: #111827;
  background: #ffffff;
  outline: none;
}

.toolbar-controls input:focus,
.toolbar-controls select:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.16);
}

.empty-state {
  margin: 28px 0 0;
  padding: 22px;
  border-radius: 18px;
  text-align: center;
  color: #9f1239;
  background: #ffe4e6;
  font-weight: 750;
}

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

.rank-list .mini-card {
  width: auto;
  flex: initial;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.mini-rank {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #e11d48, #f97316);
  font-style: normal;
  font-weight: 900;
}

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

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  border-radius: 28px;
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78));
}

.podium-card strong,
.podium-card em,
.podium-rank {
  position: relative;
  z-index: 1;
}

.podium-card strong {
  display: block;
  font-size: 25px;
  font-weight: 900;
}

.podium-card em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.podium-rank {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #e11d48, #f97316);
  font-weight: 900;
  font-size: 22px;
}

.search-page .large-search {
  margin-top: 28px;
  width: min(720px, 100%);
}

.large-search input {
  flex: 1;
  min-width: 0;
  color: #111827;
  background: #ffffff;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.04);
}

.detail-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.64) 58%, rgba(0, 0, 0, 0.22));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

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

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.detail-copy {
  display: grid;
  gap: 18px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.48));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #e11d48, #f97316);
  box-shadow: 0 24px 48px rgba(225, 29, 72, 0.38);
  font-size: 34px;
  text-indent: 4px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.story-card,
.info-card {
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.1);
}

.story-card h2,
.info-card h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.story-card p {
  margin: 0 0 28px;
  color: #374151;
  line-height: 1.95;
  font-size: 16px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.info-card dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0 0 18px;
}

.info-card dt {
  color: #6b7280;
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  color: #111827;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(180deg, #111827, #030712);
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.site-footer p {
  margin: 18px 0 0;
  color: #9ca3af;
  line-height: 1.8;
}

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

.site-footer a:not(.footer-logo) {
  display: block;
  margin: 9px 0;
  color: #d1d5db;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

.accent-rose .category-tile-shade,
.accent-rose.category-hero {
  background: linear-gradient(135deg, #e11d48, #f97316);
}

.accent-orange.category-hero,
.accent-orange .category-tile-shade {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.accent-amber.category-hero,
.accent-amber .category-tile-shade {
  background: linear-gradient(135deg, #f59e0b, #fb7185);
}

.accent-purple.category-hero,
.accent-purple .category-tile-shade {
  background: linear-gradient(135deg, #7c3aed, #e11d48);
}

.accent-pink.category-hero,
.accent-pink .category-tile-shade {
  background: linear-gradient(135deg, #db2777, #fb7185);
}

.accent-red.category-hero,
.accent-red .category-tile-shade {
  background: linear-gradient(135deg, #dc2626, #f97316);
}

.accent-blue.category-hero,
.accent-blue .category-tile-shade {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.accent-green.category-hero,
.accent-green .category-tile-shade {
  background: linear-gradient(135deg, #059669, #0f766e);
}

@media (max-width: 1024px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .category-grid,
  .movie-grid.four-cols,
  .rank-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .detail-poster {
    width: min(280px, 100%);
  }

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

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

  .hero-carousel {
    min-height: 620px;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 80px;
  }

  .hero-control {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .hero-control.prev {
    left: 12px;
  }

  .hero-control.next {
    right: 12px;
  }

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

  .toolbar-controls {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .category-grid,
  .category-panel-grid,
  .movie-grid.four-cols,
  .movie-grid.three-cols,
  .rank-list,
  .podium-grid {
    grid-template-columns: 1fr;
  }

  .category-tile {
    min-height: 220px;
  }

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

  .detail-layout {
    gap: 26px;
  }

  .detail-poster {
    width: min(230px, 72vw);
  }

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

  .cta-panel {
    padding: 34px 22px;
  }
}

@media (max-width: 480px) {
  .movie-grid.four-cols,
  .movie-grid.three-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body strong {
    font-size: 16px;
  }

  .card-desc {
    display: none;
  }

  .tag-row {
    display: none;
  }
}
