* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1f2937;
  background: #f9fafb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.98), rgba(194, 65, 12, 0.98), rgba(146, 64, 14, 0.98));
  color: #ffffff;
  box-shadow: 0 10px 35px rgba(67, 20, 7, 0.28);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #78350f;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.brand-text small {
  margin-top: 3px;
  color: #fde68a;
  font-size: 12px;
}

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

.desktop-nav > a,
.nav-dropdown > button {
  color: #fff7ed;
  font-weight: 650;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-dropdown > button:hover {
  color: #fde68a;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 190px;
  padding: 8px;
  background: #ffffff;
  color: #374151;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.dropdown-panel a:hover {
  background: #fffbeb;
  color: #92400e;
}

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

.top-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
  border: 1px solid rgba(255, 255, 255, 0.28);
  outline: none;
}

.top-search input {
  width: 230px;
  padding: 11px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.top-search input::placeholder,
.mobile-search input::placeholder {
  color: #fde68a;
}

.top-search input:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(253, 230, 138, 0.32);
}

.top-search button,
.mobile-search button,
.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 750;
  transition: all 0.2s ease;
}

.top-search button,
.mobile-search button {
  border: 0;
  padding: 10px 16px;
  color: #7c2d12;
  background: #fde68a;
  cursor: pointer;
}

.top-search button:hover,
.mobile-search button:hover {
  transform: translateY(-1px);
  background: #fef3c7;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 11px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-search {
  margin-bottom: 14px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-links a {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.hero-section {
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 10%, rgba(253, 230, 138, 0.24), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(251, 146, 60, 0.32), transparent 30%),
    linear-gradient(100deg, #78350f 0%, #c2410c 50%, #92400e 100%);
  overflow: hidden;
}

.hero-shell {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-intro h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-intro p {
  max-width: 640px;
  margin: 0;
  color: #ffedd5;
  font-size: 20px;
  line-height: 1.75;
}

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

.primary-btn,
.ghost-btn {
  min-height: 46px;
  padding: 0 22px;
}

.primary-btn {
  color: #78350f;
  background: #fde68a;
  box-shadow: 0 14px 35px rgba(67, 20, 7, 0.28);
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: #fef3c7;
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-pills a {
  padding: 8px 12px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 14px;
  backdrop-filter: blur(8px);
}

.hero-pills a:hover {
  color: #78350f;
  background: #fef3c7;
}

.compact-pills {
  margin-top: 22px;
}

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

.hero-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.34);
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:nth-child(2) {
  transform: translateY(30px);
}

.hero-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 34px 88px rgba(15, 23, 42, 0.42);
}

.hero-card:nth-child(2):hover {
  transform: translateY(20px) scale(1.02);
}

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

.hero-card:hover img {
  transform: scale(1.08);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.36) 35%, rgba(0, 0, 0, 0.92));
}

.hero-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 12px;
  color: #78350f;
  background: #f59e0b;
  border-radius: 999px;
  font-weight: 850;
  font-size: 13px;
}

.hero-content {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hero-content strong {
  font-size: 24px;
  line-height: 1.15;
}

.hero-content em {
  color: #e5e7eb;
  font-style: normal;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-content span {
  color: #fde68a;
  font-size: 14px;
}

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

.alt-section {
  background: #fff7ed;
}

.section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}

.section-heading > span,
.rank-heading > span {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 34px;
  padding: 0 12px;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  font-weight: 850;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.section-heading h2,
.rank-heading h2,
.player-section h2,
.movie-article h2,
.side-card h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 7px 0 0;
  color: #6b7280;
  line-height: 1.7;
}

.section-more {
  min-height: 40px;
  padding: 0 16px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fed7aa;
}

.section-more:hover {
  background: #fef3c7;
}

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.18);
}

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

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

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

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.66));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.poster-badge,
.poster-year {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 5px 9px;
  color: #ffffff;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.poster-badge {
  left: 10px;
  background: rgba(120, 53, 15, 0.9);
}

.poster-year {
  right: 10px;
  background: rgba(0, 0, 0, 0.58);
}

.poster-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: auto;
  color: #92400e;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.88);
  transition: all 0.25s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: scale(1);
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 9px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: #92400e;
}

.card-body p {
  min-height: 44px;
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 12px;
}

.card-meta span {
  flex-shrink: 0;
  padding: 5px 8px;
  color: #b45309;
  background: #fffbeb;
  border-radius: 8px;
  font-weight: 750;
}

.card-meta em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

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

.tag-list span {
  padding: 4px 8px;
  color: #4b5563;
  background: #f3f4f6;
  border-radius: 999px;
  font-size: 12px;
}

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

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

.category-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 230px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 48px rgba(146, 64, 14, 0.16);
}

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

.category-posters img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  background: #fef3c7;
}

.category-tile strong {
  color: #111827;
  font-size: 20px;
}

.category-tile em {
  color: #6b7280;
  font-style: normal;
  line-height: 1.65;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.rank-panel,
.side-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.rank-panel {
  position: sticky;
  top: 100px;
  padding: 22px;
}

.rank-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.rank-heading h2 {
  font-size: 26px;
}

.rank-heading a {
  color: #92400e;
  font-weight: 750;
}

.rank-item {
  display: grid;
  grid-template-columns: 38px 66px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #f3f4f6;
}

.rank-no {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  font-weight: 900;
}

.rank-item img {
  width: 66px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rank-info strong {
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info small {
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  background: #ffffff;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.page-hero,
.detail-hero {
  position: relative;
  color: #ffffff;
  background: linear-gradient(100deg, #78350f, #c2410c, #92400e);
  overflow: hidden;
}

.small-hero {
  padding: 70px 0;
}

.page-hero p {
  max-width: 760px;
  color: #ffedd5;
  font-size: 18px;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #92400e;
  font-size: 14px;
}

.breadcrumb.light {
  color: #fed7aa;
}

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 26px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.filter-bar label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.filter-bar label span {
  color: #92400e;
  font-weight: 800;
  white-space: nowrap;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: #374151;
  background: #f9fafb;
  border: 1px solid #fed7aa;
  border-radius: 14px;
}

.filter-bar input:focus,
.filter-bar select:focus {
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.22);
}

.detail-hero {
  min-height: 530px;
  display: grid;
  align-items: end;
  padding: 76px 0 58px;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px) saturate(1.1);
  transform: scale(1.06);
  opacity: 0.32;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(67, 20, 7, 0.95), rgba(124, 45, 18, 0.8), rgba(0, 0, 0, 0.58));
}

.detail-shell {
  position: relative;
  z-index: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-poster {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

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

.detail-copy h1 {
  max-width: 880px;
  color: #ffffff;
}

.detail-one-line {
  max-width: 850px;
  color: #ffedd5;
  font-size: 20px;
  line-height: 1.75;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 18px;
}

.detail-meta span {
  padding: 8px 12px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.detail-tags span {
  color: #78350f;
  background: #fef3c7;
}

.player-section h2 {
  margin-bottom: 18px;
}

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

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

.play-cover {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000000;
  overflow: hidden;
}

.play-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.play-cover.is-hidden {
  display: none;
}

.play-circle {
  position: absolute;
  inset: 0;
  width: 92px;
  height: 92px;
  margin: auto;
  display: grid;
  place-items: center;
  color: #92400e;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  font-size: 36px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

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

.movie-article,
.side-card {
  padding: 28px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.movie-article h2:not(:first-child) {
  margin-top: 28px;
}

.movie-article p {
  margin: 12px 0 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

.side-card {
  position: sticky;
  top: 100px;
}

.side-card dl {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
}

.side-card dt {
  color: #92400e;
  font-weight: 850;
}

.side-card dd {
  margin: 0;
  color: #4b5563;
}

.side-card a {
  color: #92400e;
  font-weight: 750;
}

.site-footer {
  color: #ffedd5;
  background: linear-gradient(90deg, #78350f, #9a3412, #78350f);
}

.footer-inner {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  padding: 38px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  color: #ffffff;
  font-size: 20px;
}

.footer-inner p {
  margin: 8px 0 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  max-width: 680px;
}

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-shell,
  .detail-layout,
  .two-column-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 14px;
  }

  .hero-card {
    min-height: 410px;
  }

  .hero-card:nth-child(2) {
    transform: none;
  }

  .hero-card:nth-child(2):hover {
    transform: translateY(-8px) scale(1.02);
  }

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

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

  .rank-panel,
  .side-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
  }

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

  .brand-text small {
    display: none;
  }

  .hero-shell {
    min-height: auto;
    padding: 48px 0;
  }

  .hero-intro h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 36px;
  }

  .hero-intro p,
  .detail-one-line,
  .page-hero p {
    font-size: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .hero-card {
    min-height: 360px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .movie-grid,
  .compact-grid,
  .category-showcase,
  .category-showcase.wide,
  .rank-page {
    grid-template-columns: 1fr;
  }

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

  .filter-bar label {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-layout {
    gap: 24px;
  }

  .detail-poster {
    max-width: 230px;
  }

  .article-layout {
    gap: 20px;
  }

  .side-card dl {
    grid-template-columns: 64px 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}
