:root {
  --brand-red: #dc2626;
  --brand-orange: #f97316;
  --brand-amber: #f59e0b;
  --ink: #111827;
  --muted: #6b7280;
  --paper: #ffffff;
  --soft: #fff7ed;
  --line: #f3f4f6;
  --shadow: 0 20px 45px rgba(127, 29, 29, 0.12);
  --radius: 24px;
}

html {
  background: #fff7ed;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 38%, #fff1f2 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  background: linear-gradient(135deg, #fee2e2, #fed7aa);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(127, 29, 29, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.25);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange), var(--brand-amber));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.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;
  border-radius: 12px;
  color: #374151;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.header-search {
  display: flex;
  align-items: center;
  width: 260px;
  padding: 4px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.header-search input,
.mobile-search input,
.large-search input,
.toolbar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.header-search input {
  padding: 8px 12px;
  font-size: 14px;
}

.header-search button,
.mobile-search button,
.large-search button {
  flex: 0 0 auto;
  border: 0;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
}

.header-search button {
  padding: 8px 14px;
  font-size: 13px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff7ed;
}

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

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

.mobile-link {
  padding: 12px 14px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 18px;
  background: #ffffff;
}

.mobile-search button {
  padding: 8px 16px;
}

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

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

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(127, 29, 29, 0.92), rgba(194, 65, 12, 0.75), rgba(15, 23, 42, 0.52)), var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 32% 45%, rgba(255, 255, 255, 0.18), transparent 38%), linear-gradient(0deg, rgba(0, 0, 0, 0.46), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 760px;
  animation: fadeIn 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.8;
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.tag-row span {
  color: #9a3412;
  background: #ffedd5;
}

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

.primary-btn,
.ghost-btn,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
  box-shadow: 0 18px 34px rgba(220, 38, 38, 0.25);
}

.primary-btn:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(220, 38, 38, 0.25);
}

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

.hero-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
  transform: rotate(2deg);
}

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

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-indicator {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 34px;
  line-height: 1;
}

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-indicator {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

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

.home-search-panel {
  margin-top: -48px;
  position: relative;
  z-index: 8;
}

.search-panel-inner,
.detail-panel,
.player-card,
.sidebar-card,
.category-overview-card,
.toolbar,
.search-filters,
.home-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(254, 215, 170, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-panel-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: 26px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
}

.search-panel-inner h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.search-panel-inner p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.8;
}

.large-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #fed7aa;
}

.large-search input {
  padding: 12px 16px;
  font-size: 15px;
}

.large-search button {
  padding: 12px 22px;
}

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

.content-section + .content-section {
  padding-top: 18px;
}

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

.section-kicker {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 12px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin-top: 8px;
  color: var(--muted);
}

.section-more,
.text-link {
  color: var(--brand-red);
  background: #ffffff;
  border: 1px solid #fed7aa;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(127, 29, 29, 0.08);
  transition: all 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px rgba(127, 29, 29, 0.15);
}

.card-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

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

.card-type,
.card-score,
.rank-number {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.card-type {
  left: 12px;
  top: 12px;
  background: var(--brand-red);
}

.card-score {
  right: 12px;
  top: 12px;
  background: rgba(17, 24, 39, 0.78);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.card-title {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
}

.card-title:hover,
.wide-title:hover {
  color: var(--brand-red);
}

.card-body p,
.wide-body p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.card-meta,
.wide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #6b7280;
  font-size: 13px;
}

.stats-band {
  padding: 52px 0;
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange), var(--brand-amber));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1;
  font-weight: 950;
}

.stats-grid span {
  display: block;
  margin-top: 10px;
  opacity: 0.86;
}

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

.category-tile {
  min-height: 150px;
  padding: 20px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.category-tile:nth-child(2n) {
  background: linear-gradient(135deg, #ea580c, #f59e0b);
}

.category-tile:hover {
  transform: translateY(-6px) scale(1.02);
}

.category-tile span {
  display: block;
  font-size: 22px;
  font-weight: 950;
}

.category-tile strong {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 34px;
  align-items: start;
}

.wide-list {
  display: grid;
  gap: 16px;
}

.wide-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(127, 29, 29, 0.08);
  transition: all 0.2s ease;
}

.wide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(127, 29, 29, 0.14);
}

.wide-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
}

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

.rank-number {
  left: 10px;
  top: 10px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
}

.wide-body {
  min-width: 0;
  align-self: center;
}

.wide-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.wide-title {
  color: var(--ink);
  font-size: 19px;
  font-weight: 950;
}

.wide-score {
  color: var(--brand-red);
  font-weight: 950;
}

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

.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #991b1b, #ea580c 55%, #f59e0b);
}

.sub-hero h1 {
  margin-top: 18px;
  max-width: 860px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.sub-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.inline-search {
  max-width: 560px;
  margin-top: 26px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 18px;
}

.toolbar input {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: #fff7ed;
}

.category-overview-grid {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
}

.category-covers img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.category-overview-card h2 {
  font-size: 28px;
  font-weight: 950;
}

.category-overview-card p {
  margin: 10px 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

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

.podium-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  color: #ffffff;
  background-image: linear-gradient(0deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.18)), var(--hero-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.podium-card span {
  color: #fed7aa;
  font-weight: 950;
}

.podium-card strong {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 950;
}

.podium-card em {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 18px;
}

.search-filters button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
}

.search-filters button.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
}

.search-count {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--brand-red);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
  padding-bottom: 64px;
}

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

.player-card {
  padding: 14px;
  border-radius: 26px;
}

.player-root {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.player-root video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28));
  transition: all 0.25s ease;
}

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

.play-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  color: #dc2626;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  font-size: 32px;
}

.detail-panel {
  margin-top: 22px;
  padding: 30px;
  border-radius: 26px;
}

.detail-heading h1 {
  margin-top: 16px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-heading p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.detail-meta-grid div {
  padding: 16px;
  border-radius: 16px;
  background: #fff7ed;
}

.detail-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.detail-meta-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 950;
}

.detail-tags {
  margin-bottom: 24px;
}

.detail-panel h2,
.sidebar-card h2 {
  margin: 26px 0 12px;
  font-size: 24px;
  font-weight: 950;
}

.detail-text {
  color: #374151;
  font-size: 17px;
  line-height: 2;
}

.detail-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-nav-links a {
  padding: 12px 16px;
  border-radius: 14px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 18px;
  border-radius: 22px;
}

.poster-card img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.full {
  width: 100%;
  margin-top: 14px;
}

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

.side-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
}

.side-rank-item span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  font-size: 12px;
  font-weight: 950;
}

.side-rank-item strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.related-section {
  padding-bottom: 0;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937 55%, #111827);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px 0;
}

.footer-logo {
  color: #ffffff;
  font-size: 28px;
  font-weight: 950;
}

.footer-brand p,
.site-footer a {
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

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

.footer-bottom {
  padding: 18px;
  color: #9ca3af;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[hidden] {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .mobile-menu.is-open {
    display: grid;
    gap: 10px;
  }

  .hero-content,
  .search-panel-inner,
  .split-layout,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cover,
  .detail-sidebar {
    display: none;
  }

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

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

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

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

  .brand-subtitle {
    display: none;
  }

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

  .hero-content {
    padding: 70px 0 100px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .home-search-panel {
    margin-top: 0;
    padding-top: 18px;
  }

  .search-panel-inner,
  .detail-panel,
  .player-card,
  .sidebar-card,
  .category-overview-card {
    padding: 18px;
    border-radius: 20px;
  }

  .large-search,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
    border-radius: 20px;
  }

  .large-search button,
  .header-search button {
    min-height: 44px;
  }

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

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

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

  .wide-card,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .wide-poster {
    aspect-ratio: 16 / 9;
  }

  .category-covers img {
    height: 120px;
  }

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