: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;
  --ink: #111827;
  --muted: #6b7280;
  --line: rgba(146, 64, 14, 0.16);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 45px rgba(146, 64, 14, 0.16);
  --shadow-strong: 0 24px 60px rgba(146, 64, 14, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(251, 191, 36, 0.22), transparent 34rem),
    linear-gradient(135deg, #fff7ed, #ffffff 42%, #fffbeb);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--golden-400), var(--golden-600), var(--golden-700));
  box-shadow: 0 12px 34px rgba(217, 119, 6, 0.35);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

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

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

.nav-link,
.mobile-nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-menu-button {
  display: none;
  color: #fff;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 8px 12px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-nav.open {
  display: flex;
}

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

.page-home,
.inner-page,
.detail-page {
  min-height: 70vh;
}

.hero-carousel {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--golden-500), var(--golden-700));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg,
.hero-bg-image,
.detail-bg,
.ranking-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-image,
.detail-bg .hero-bg-image,
.ranking-hero-bg .hero-bg-image {
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(1.1) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.18), transparent 24rem),
    linear-gradient(90deg, rgba(120, 53, 15, 0.95), rgba(180, 83, 9, 0.76) 48%, rgba(17, 24, 39, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  padding: 88px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.52fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  animation: slideUp 0.7s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow.dark {
  color: var(--golden-700);
  background: var(--golden-100);
  border-color: var(--golden-200);
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3.4vw, 44px);
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-tags,
.tag-list,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-tags span,
.tag-list span,
.detail-meta span,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--golden-800);
  background: var(--golden-100);
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

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

.btn.primary,
.btn.small {
  color: #fff;
  background: linear-gradient(135deg, var(--golden-400), var(--golden-600), var(--golden-700));
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.28);
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.btn.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: inherit;
  pointer-events: none;
}

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

.hero-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  opacity: 0.55;
}

.hero-dots button.active {
  width: 28px;
  opacity: 1;
}

.section {
  padding: 46px 0;
}

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

.section-head h2,
.search-band h2,
.page-hero h1,
.ranking-hero h1,
.detail-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.16;
}

.compact-head {
  align-items: center;
}

.text-link {
  color: var(--golden-700);
  font-weight: 800;
}

.search-band {
  margin-top: -42px;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.home-search,
.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.home-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  outline: none;
  background: #fff;
}

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

.home-search button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--golden-400), var(--golden-700));
  font-weight: 800;
}

.filter-panel {
  grid-template-columns: 1fr 220px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.filter-panel.wide {
  grid-template-columns: minmax(0, 1fr) 220px 180px;
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-overview-card:hover,
.movie-card:hover,
.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.category-card-bg {
  position: absolute;
  inset: 0;
}

.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(120, 53, 15, 0.22), rgba(120, 53, 15, 0.88));
}

.category-card-body {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  color: #fff;
}

.category-card-body strong {
  display: block;
  font-size: 20px;
}

.category-card-body em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

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

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

.movie-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(146, 64, 14, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-link {
  display: grid;
  height: 100%;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.34), transparent 8rem),
    linear-gradient(135deg, var(--golden-200), var(--golden-600));
}

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

.movie-card:hover .poster-frame img,
.category-card:hover .poster-frame img,
.ranking-card:hover .poster-frame img {
  transform: scale(1.06);
}

.movie-card .poster-frame {
  aspect-ratio: 16 / 10;
}

.duration-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  color: #fff;
  background: rgba(17, 24, 39, 0.76);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

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

.card-meta-row,
.card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.movie-card strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 48px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.ranking-panel,
.side-card,
.detail-block,
.category-overview-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.ranking-panel {
  align-self: start;
  padding: 22px;
  position: sticky;
  top: 92px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 34px 66px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #fff7ed;
}

.rank-no,
.ranking-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--golden-400), var(--golden-700));
  font-weight: 900;
}

.rank-cover {
  width: 66px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.rank-score,
.ranking-card-score {
  color: var(--golden-700);
  font-weight: 900;
}

.page-hero.slim {
  padding: 88px 16px 54px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.28), transparent 30rem),
    linear-gradient(135deg, var(--golden-400), var(--golden-700), var(--golden-900));
}

.page-hero.slim h1,
.page-hero.slim p {
  color: #fff;
}

.page-hero.slim p {
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.84);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
}

.category-overview-cover {
  min-height: 160px;
  border-radius: 18px;
}

.category-overview-card h2 {
  margin: 6px 0 10px;
  font-size: 26px;
}

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.category-sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.category-sample-links a {
  color: var(--golden-800);
  background: var(--golden-100);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 800;
}

.ranking-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--golden-500), var(--golden-900));
}

.ranking-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.94), rgba(120, 53, 15, 0.55));
}

.ranking-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ranking-hero h1,
.ranking-hero p {
  color: #fff;
}

.ranking-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
}

.ranking-cards {
  display: grid;
  gap: 14px;
}

.ranking-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(146, 64, 14, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-card a {
  display: grid;
  grid-template-columns: 44px 150px minmax(0, 1fr) 70px;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.ranking-poster {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.ranking-card-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

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

.ranking-card-body em,
.ranking-card-body span {
  color: var(--muted);
  font-style: normal;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: #fff;
  background: linear-gradient(135deg, var(--golden-500), var(--golden-900));
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.16), transparent 20rem),
    linear-gradient(90deg, rgba(120, 53, 15, 0.96), rgba(120, 53, 15, 0.7), rgba(17, 24, 39, 0.58));
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 72px 0;
}

.detail-cover {
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  box-shadow: var(--shadow-strong);
}

.detail-copy h1,
.detail-copy p {
  color: #fff;
}

.detail-copy h1 {
  font-size: clamp(32px, 5vw, 58px);
}

.detail-copy p {
  max-width: 800px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.detail-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.breadcrumb a {
  color: #fff;
  font-weight: 800;
}

.player-section {
  padding-top: 38px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  background: #111827;
  box-shadow: var(--shadow-strong);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(251, 191, 36, 0.24), transparent 20rem),
    linear-gradient(135deg, rgba(17, 24, 39, 0.26), rgba(17, 24, 39, 0.76));
  text-align: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--golden-800);
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  font-size: 30px;
}

.player-cover strong {
  max-width: min(760px, calc(100% - 32px));
  font-size: clamp(22px, 3.2vw, 38px);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.detail-block,
.side-card {
  padding: 26px;
}

.detail-block + .detail-block {
  margin-top: 22px;
}

.detail-block h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-block p {
  margin: 0;
  color: #374151;
  font-size: 17px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.side-card dt {
  color: var(--muted);
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: var(--ink);
}

.empty-state {
  display: none;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.empty-state.show {
  display: block;
}

.site-footer {
  margin-top: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--golden-800), var(--golden-900));
}

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

.footer-brand {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 900;
}

.site-footer p,
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
}

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

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags a {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 2px;
  }

  .nav-link {
    padding: 8px 9px;
    font-size: 14px;
  }

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

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

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

  .ranking-panel {
    position: static;
  }
}

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

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

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

  .hero-content,
  .search-band,
  .detail-hero-content,
  .category-overview-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 240px;
    margin: 0 auto;
  }

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

  .filter-panel,
  .filter-panel.wide,
  .home-search {
    grid-template-columns: 1fr;
  }

  .ranking-card a {
    grid-template-columns: 34px 90px minmax(0, 1fr);
  }

  .ranking-card-score {
    display: none;
  }

  .detail-cover {
    max-width: 260px;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 18px;
  }

  .hero-content {
    padding-top: 68px;
  }

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

  .section-head {
    display: grid;
  }

  .ranking-item {
    grid-template-columns: 30px 58px minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }
}
