:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-600: #ea580c;
  --orange-800: #9a3412;
  --orange-950: #431407;
  --text: #2c1810;
  --muted: #7c5b32;
  --card: #ffffff;
  --line: rgba(146, 64, 14, 0.16);
  --shadow: 0 18px 45px rgba(120, 53, 15, 0.16);
  --shadow-strong: 0 30px 70px rgba(67, 20, 7, 0.32);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--amber-50) 0%, #fff7ed 48%, #ffffff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.98), rgba(154, 52, 18, 0.96), rgba(67, 20, 7, 0.98));
  color: var(--amber-50);
  box-shadow: 0 14px 35px rgba(67, 20, 7, 0.22);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-200), var(--amber-500));
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 14px 28px rgba(251, 191, 36, 0.28);
}

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

.brand-text strong {
  font-size: 24px;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--amber-200);
  font-size: 12px;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--amber-100);
  font-weight: 700;
  padding: 10px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber-300);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

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

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 280px;
}

.header-search input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(253, 230, 138, 0.38);
  border-radius: 999px;
  padding: 0 74px 0 18px;
  color: var(--amber-50);
  background: rgba(67, 20, 7, 0.36);
  outline: none;
}

.header-search input::placeholder {
  color: rgba(253, 230, 138, 0.72);
}

.header-search button {
  position: absolute;
  right: 4px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--amber-900);
  background: var(--amber-300);
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(253, 230, 138, 0.35);
  border-radius: 12px;
  background: rgba(67, 20, 7, 0.28);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--amber-100);
  border-radius: 999px;
}

.hero {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  background: var(--orange-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: opacity 0.7s ease, transform 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-shade,
.detail-hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(251, 191, 36, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(67, 20, 7, 0.94), rgba(120, 53, 15, 0.72), rgba(67, 20, 7, 0.20)),
    linear-gradient(180deg, rgba(67, 20, 7, 0.16), rgba(255, 251, 235, 0.94));
}

.hero-content {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 420px 110px 0;
  color: #ffffff;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--amber-200);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 16px 35px rgba(67, 20, 7, 0.45);
}

.hero h2 {
  margin: 0 0 18px;
  color: var(--amber-100);
  font-size: clamp(26px, 3.8vw, 46px);
}

.hero-content > p:not(.hero-kicker) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 251, 235, 0.9);
  font-size: 19px;
  line-height: 1.9;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-100), var(--amber-300));
  font-weight: 800;
  font-size: 13px;
}

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

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-200), var(--amber-500));
  box-shadow: 0 16px 36px rgba(251, 191, 36, 0.32);
}

.ghost-btn {
  color: var(--amber-50);
  border: 1px solid rgba(253, 230, 138, 0.46);
  background: rgba(67, 20, 7, 0.22);
  backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-float {
  position: absolute;
  right: calc((100% - min(1200px, calc(100% - 32px))) / 2);
  top: 118px;
  bottom: 64px;
  width: 360px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-search-card,
.hero-mini-list,
.info-card,
.detail-card,
.player-card,
.category-overview-card {
  border: 1px solid rgba(253, 230, 138, 0.28);
  border-radius: 28px;
  background: rgba(255, 251, 235, 0.86);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-search-card {
  padding: 22px;
}

.hero-search-card h2,
.hero-mini-list h2 {
  margin: 0 0 14px;
  color: var(--amber-900);
  font-size: 21px;
}

.hero-search-card form {
  display: flex;
  gap: 8px;
}

.hero-search-card input,
.search-large input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(180, 83, 9, 0.22);
  border-radius: 999px;
  padding: 13px 16px;
  outline: none;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-card input:focus,
.search-large input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.22);
}

.hero-search-card button,
.search-large button {
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--amber-900);
  background: var(--amber-300);
  font-weight: 900;
  cursor: pointer;
}

.hero-mini-list {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.hero-mini-list a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-mini-list a:hover {
  transform: translateX(-4px);
  background: rgba(255, 255, 255, 0.88);
}

.hero-mini-list img {
  width: 64px;
  height: 76px;
  object-fit: cover;
  border-radius: 15px;
}

.hero-mini-list strong,
.hero-mini-list em,
.rank-copy strong,
.rank-copy em {
  display: block;
}

.hero-mini-list strong {
  color: var(--amber-900);
  font-size: 15px;
}

.hero-mini-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  margin-top: 5px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 251, 235, 0.54);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
  width: 30px;
  background: var(--amber-300);
}

.content-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0 0;
}

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

.section-title h2 {
  margin: 0;
  color: var(--amber-900);
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.03em;
}

.section-title p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-title > a,
.text-link {
  color: var(--amber-900);
  background: var(--amber-200);
  white-space: nowrap;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(217, 119, 6, 0.38);
  box-shadow: 0 28px 65px rgba(120, 53, 15, 0.22);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5.35;
  overflow: hidden;
  background: var(--amber-100);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover .card-cover img {
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.04);
}

.card-score {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--amber-900);
  background: var(--amber-300);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(67, 20, 7, 0.2);
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--amber-400);
}

.card-body h3 {
  margin: 10px 0 8px;
  color: var(--amber-950);
  font-size: 20px;
  line-height: 1.35;
}

.card-body h3 a:hover {
  color: var(--amber-700);
}

.card-body p {
  margin: 0;
  color: #654321;
  line-height: 1.75;
  font-size: 14px;
}

.card-body .tag-row {
  margin-top: 14px;
}

.card-body .tag-row span {
  min-height: 24px;
  padding: 4px 9px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-size: 12px;
}

.feature-band {
  width: 100%;
  max-width: none;
  padding: 76px max(16px, calc((100% - 1200px) / 2));
  margin-top: 70px;
  background:
    radial-gradient(circle at 12% 18%, rgba(251, 191, 36, 0.22), transparent 26%),
    linear-gradient(135deg, rgba(255, 251, 235, 0.95), rgba(255, 237, 213, 0.92));
}

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

.category-card {
  min-height: 210px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 28px;
  padding: 24px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(67, 20, 7, 0.08), rgba(67, 20, 7, 0.86));
}

.category-card span {
  font-size: 24px;
  font-weight: 900;
}

.category-card p {
  margin: 10px 0 0;
  color: rgba(255, 251, 235, 0.86);
  line-height: 1.65;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 20%, rgba(251, 191, 36, 0.42), transparent 30%),
    linear-gradient(135deg, var(--amber-800), var(--orange-600), var(--orange-950));
}

.page-hero-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.page-hero span {
  color: var(--amber-200);
  font-weight: 900;
}

.page-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 251, 235, 0.88);
  font-size: 19px;
  line-height: 1.85;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.category-thumb-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-thumb-strip img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 18px;
}

.category-overview-card h2 {
  margin: 4px 0 10px;
  color: var(--amber-900);
}

.category-overview-card p {
  color: var(--muted);
  line-height: 1.75;
}

.category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.category-badges a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-weight: 800;
}

.category-badges a.active,
.category-badges a:hover {
  color: var(--amber-50);
  background: var(--amber-700);
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--amber-900);
  font-weight: 900;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 48px 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(217, 119, 6, 0.34);
}

.rank-no {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-100), var(--amber-400));
  font-weight: 900;
}

.rank-item img {
  width: 74px;
  height: 94px;
  object-fit: cover;
  border-radius: 16px;
}

.rank-copy strong {
  color: var(--amber-950);
  font-size: 18px;
}

.rank-copy em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  margin-top: 8px;
  line-height: 1.5;
}

.rank-hot {
  color: var(--amber-900);
  background: var(--amber-100);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 900;
}

.search-large {
  max-width: 820px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.search-large input {
  padding: 17px 20px;
  font-size: 18px;
}

.search-large button {
  padding: 0 28px;
}

.search-summary {
  margin-bottom: 22px;
  color: var(--amber-900);
  font-weight: 900;
  text-align: center;
}

.detail-hero {
  position: relative;
  min-height: 520px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
}

.detail-hero-inner {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 54px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--amber-100);
  font-weight: 800;
}

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

.detail-title-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: end;
}

.detail-poster {
  width: 190px;
  aspect-ratio: 4 / 5.45;
  object-fit: cover;
  border: 4px solid rgba(255, 251, 235, 0.54);
  border-radius: 26px;
  box-shadow: var(--shadow-strong);
}

.detail-title-row h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: -0.04em;
}

.detail-title-row p:not(.hero-kicker) {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 251, 235, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  padding: 14px;
  background: #111827;
  border-color: rgba(251, 191, 36, 0.2);
}

.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #020617;
}

.movie-video,
.play-cover,
.play-cover img {
  width: 100%;
  height: 100%;
}

.movie-video {
  display: block;
  position: relative;
  z-index: 1;
  background: #020617;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #020617;
}

.play-cover img {
  object-fit: cover;
  filter: brightness(0.62) saturate(1.08);
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-100), var(--amber-400));
  font-size: 34px;
  padding-left: 6px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.detail-card,
.info-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.detail-card h2,
.info-card h2 {
  margin: 0 0 14px;
  color: var(--amber-900);
  font-size: 24px;
}

.detail-card p {
  margin: 0;
  color: #4b2f15;
  font-size: 17px;
  line-height: 1.95;
}

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

.info-card dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.info-card dt {
  color: var(--amber-700);
  font-weight: 900;
}

.info-card dd {
  margin: 0;
  color: #4b2f15;
  line-height: 1.6;
}

.info-card a {
  color: var(--amber-700);
  font-weight: 900;
}

.site-footer {
  margin-top: 88px;
  color: var(--amber-100);
  background: linear-gradient(135deg, var(--amber-900), var(--orange-800), var(--orange-950));
}

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

.footer-brand {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  max-width: 440px;
  margin: 16px 0 0;
  color: var(--amber-200);
  line-height: 1.8;
}

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

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(253, 230, 138, 0.18);
  text-align: center;
  padding: 18px;
}

.footer-bottom p {
  max-width: none;
  margin: 0;
  color: var(--amber-200);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1060px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0 0 12px;
  }

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

  .nav-link {
    padding: 12px 0;
  }

  .header-search {
    width: 100%;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    padding: 88px 0 360px;
  }

  .hero-float {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 28px;
    width: auto;
  }

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

  .home-rank,
  .category-overview-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .info-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .brand-text strong {
    font-size: 20px;
  }

  .hero {
    min-height: 930px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-content > p:not(.hero-kicker) {
    font-size: 16px;
  }

  .hero-search-card form,
  .search-large,
  .filter-panel,
  .detail-title-row,
  .category-overview-card,
  .rank-item {
    grid-template-columns: 1fr;
  }

  .hero-search-card form {
    display: grid;
  }

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

  .section-title {
    display: grid;
  }

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

  .content-section {
    padding-top: 48px;
  }

  .category-thumb-strip img {
    height: 140px;
  }

  .detail-poster {
    width: 160px;
  }

  .rank-item img {
    width: 100%;
    height: 180px;
  }

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

@media (max-width: 480px) {
  .header-inner,
  .content-section,
  .page-hero-inner,
  .detail-hero-inner {
    width: min(100% - 24px, 1200px);
  }

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

  .hero {
    min-height: 980px;
  }

  .hero-mini-list a {
    grid-template-columns: 54px 1fr;
  }

  .hero-mini-list img {
    width: 54px;
    height: 66px;
  }

  .page-hero-inner {
    padding: 54px 0;
  }

  .detail-hero-inner {
    padding: 58px 0 42px;
  }
}
