* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #3f2209;
  background: radial-gradient(circle at 10% 0%, rgba(251, 191, 36, 0.22), transparent 28%), linear-gradient(180deg, #fff7ed 0%, #fffaf0 44%, #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: rgba(255, 251, 235, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.22);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #92400e;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.26);
}

.logo-text {
  font-size: 24px;
  background: linear-gradient(90deg, #92400e, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.header-search input,
.mobile-search input,
.intro-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 2px solid rgba(245, 158, 11, 0.32);
  color: #78350f;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  padding: 11px 94px 11px 18px;
}

.header-search input:focus,
.mobile-search input:focus,
.intro-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
  background: #ffffff;
}

.header-search button,
.mobile-search button,
.intro-search button {
  border: 0;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.22);
}

.header-search button {
  position: absolute;
  right: 5px;
  padding: 8px 18px;
}

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

.nav-link,
.mobile-link {
  color: #78350f;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #ea580c;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fff7ed;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.24);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #92400e;
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(146, 64, 14, 0.11);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  padding: 11px 14px;
}

.mobile-search button {
  padding: 0 18px;
}

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

.mobile-link {
  padding: 12px 14px;
  background: #fff7ed;
  border-radius: 16px;
}

.hero-carousel {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 640px;
  margin: 26px auto 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.hero-stage {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 34px;
  background: #111827;
  box-shadow: 0 30px 80px rgba(120, 53, 15, 0.28);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.9s ease, transform 1.2s ease;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.56) 44%, rgba(0, 0, 0, 0.15) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent 45%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  bottom: clamp(34px, 8vw, 86px);
  max-width: 720px;
  color: #ffffff;
}

.section-eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  border-radius: 999px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 10px 20px rgba(234, 88, 12, 0.24);
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.44);
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta span,
.detail-meta span {
  padding: 8px 14px;
  color: #fffbeb;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  padding: 6px 10px;
  color: #92400e;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  border-radius: 999px;
  background: #fef3c7;
}

.hero-tags span {
  color: #fde68a;
  background: rgba(146, 64, 14, 0.55);
  border: 1px solid rgba(253, 230, 138, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.primary-button {
  padding: 0 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.28);
}

.ghost-button {
  padding: 0 20px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

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

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

.hero-side,
.panel-card {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.16);
  box-shadow: 0 24px 60px rgba(146, 64, 14, 0.12);
}

.hero-side {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.hero-side h2,
.content-section h2,
.page-hero h1,
.detail-main h1,
.player-section h2,
.article-card h2,
.panel-card h2 {
  margin: 0;
  color: #7c2d12;
  letter-spacing: -0.04em;
}

.hero-side h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 20px;
  background: #fff7ed;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover {
  transform: translateX(3px);
  box-shadow: 0 12px 24px rgba(146, 64, 14, 0.12);
}

.rank-poster {
  height: 108px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.rank-poster img,
.ranking-poster img,
.poster-frame img,
.detail-poster img,
.category-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-card strong,
.movie-card strong,
.ranking-row strong {
  display: block;
  color: #7c2d12;
  font-size: 16px;
  line-height: 1.35;
}

.rank-card em,
.movie-card em,
.ranking-row em {
  display: block;
  margin: 5px 0;
  color: #b45309;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.rank-card span span,
.ranking-info > span:not(.tag-row) {
  display: -webkit-box;
  overflow: hidden;
  color: #78350f;
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.intro-band,
.content-section,
.split-section,
.page-wrap,
.detail-page {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.intro-band {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: 30px;
  margin-bottom: 44px;
  border-radius: 30px;
  color: #78350f;
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.92), rgba(254, 243, 199, 0.92));
  border: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: 0 24px 52px rgba(146, 64, 14, 0.11);
}

.intro-band h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.05em;
  color: #7c2d12;
}

.intro-band p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}

.intro-search {
  display: flex;
  gap: 10px;
}

.intro-search input {
  padding: 14px 18px;
}

.intro-search button {
  flex: 0 0 auto;
  padding: 0 20px;
}

.content-section {
  margin-bottom: 58px;
}

.content-section.no-top {
  margin-top: 0;
}

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

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

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p,
.page-hero p,
.panel-card p {
  max-width: 720px;
  margin: 10px 0 0;
  color: #92400e;
  font-size: 16px;
  line-height: 1.75;
}

.text-link {
  min-height: 42px;
  padding: 0 18px;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid rgba(245, 158, 11, 0.22);
}

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: 0 14px 32px rgba(146, 64, 14, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: 0 26px 56px rgba(146, 64, 14, 0.18);
}

.poster-frame {
  position: relative;
  display: block;
  height: 285px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.poster-frame img {
  transition: transform 0.55s ease;
}

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent);
}

.poster-pill {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(8px);
}

.movie-card-body {
  display: block;
  padding: 16px;
}

.card-line {
  display: -webkit-box;
  min-height: 45px;
  overflow: hidden;
  color: #78350f;
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  margin-top: 12px;
}

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

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

.category-tile {
  display: block;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: 0 16px 36px rgba(146, 64, 14, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 132px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.category-content {
  display: block;
  padding: 16px;
}

.category-content strong {
  display: block;
  color: #7c2d12;
  font-size: 20px;
  font-weight: 900;
}

.category-content em {
  display: block;
  margin-top: 8px;
  color: #92400e;
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  margin-bottom: 58px;
}

.panel-card {
  padding: 24px;
}

.panel-card.warm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.panel-card.warm h2 {
  margin-bottom: 10px;
  font-size: 34px;
}

.rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  counter-reset: rank;
}

.rank-list li {
  counter-increment: rank;
}

.rank-list a {
  position: relative;
  display: block;
  min-height: 76px;
  padding: 12px 12px 12px 54px;
  border-radius: 18px;
  background: #fff7ed;
}

.rank-list a::before {
  content: counter(rank);
  position: absolute;
  left: 12px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  font-weight: 900;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.rank-list strong {
  display: block;
  color: #7c2d12;
  font-size: 15px;
}

.rank-list span {
  display: block;
  margin-top: 6px;
  color: #b45309;
  font-size: 13px;
  font-weight: 700;
}

.page-wrap {
  padding-top: 30px;
}

.page-hero,
.detail-hero {
  position: relative;
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 34px;
  background: radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.32), transparent 32%), linear-gradient(135deg, #fff7ed, #fffbeb);
  border: 1px solid rgba(245, 158, 11, 0.16);
  box-shadow: 0 24px 60px rgba(146, 64, 14, 0.12);
}

.page-hero {
  padding: clamp(30px, 6vw, 64px);
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(36px, 6vw, 64px);
}

.small-hero {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.crumbs a:hover {
  color: #ea580c;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px 160px;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
}

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  padding: 0 16px;
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 52px 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  border-radius: 15px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.ranking-poster {
  height: 136px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.ranking-info .tag-row {
  margin-top: 8px;
}

.detail-page {
  padding-top: 30px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px;
}

.detail-poster {
  height: 460px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  box-shadow: 0 24px 48px rgba(146, 64, 14, 0.16);
}

.detail-main h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 64px);
}

.detail-line {
  max-width: 760px;
  margin: 0 0 20px;
  color: #78350f;
  font-size: 19px;
  line-height: 1.8;
}

.detail-meta span {
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.26);
  background: rgba(255, 251, 235, 0.7);
}

.large-tags span {
  font-size: 13px;
}

.player-section {
  margin-bottom: 50px;
}

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

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
}

.player-start span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  padding-left: 6px;
  color: #ffffff;
  font-size: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 18px 42px rgba(234, 88, 12, 0.38);
}

.player-start.is-hidden {
  display: none;
}

.player-start.is-loading span {
  animation: pulse 0.95s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.article-card {
  padding: clamp(24px, 5vw, 46px);
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.14);
  box-shadow: 0 18px 45px rgba(146, 64, 14, 0.10);
}

.article-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

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

.article-card p {
  margin: 0;
  color: #78350f;
  font-size: 17px;
  line-height: 2;
  white-space: pre-line;
}

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

.site-footer {
  margin-top: 56px;
  color: #fde68a;
  background: linear-gradient(135deg, #78350f, #431407);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  gap: 20px;
}

.footer-logo {
  color: #fde68a;
  font-size: 24px;
}

.footer-inner p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #fed7aa;
  line-height: 1.8;
}

.footer-links,
.footer-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a,
.footer-cats a {
  color: #ffedd5;
  font-weight: 800;
}

.copyright {
  font-size: 14px;
}

@media (max-width: 1080px) {
  .hero-carousel {
    grid-template-columns: 1fr;
  }

  .hero-side {
    display: none;
  }

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

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

  .split-section,
  .intro-band,
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

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

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .hero-carousel {
    min-height: 560px;
    margin-top: 18px;
  }

  .hero-stage {
    min-height: 560px;
    border-radius: 26px;
  }

  .hero-content {
    left: 24px;
    right: 24px;
    bottom: 58px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .hero-actions {
    gap: 8px;
  }

  .primary-button,
  .ghost-button {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .section-head {
    display: block;
  }

  .section-head .text-link {
    margin-top: 14px;
  }

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

  .poster-frame {
    height: 240px;
  }

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

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

  .rank-list {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 42px 84px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-poster {
    height: 112px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 22px, 1180px);
  }

  .logo-text {
    font-size: 20px;
  }

  .hero-carousel,
  .intro-band,
  .content-section,
  .split-section,
  .page-wrap,
  .detail-page {
    width: min(100% - 22px, 1180px);
  }

  .hero-carousel,
  .hero-stage {
    min-height: 540px;
  }

  .hero-arrow {
    display: none;
  }

  .intro-search,
  .mobile-search {
    flex-direction: column;
  }

  .intro-search button,
  .mobile-search button {
    min-height: 44px;
  }

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

  .poster-frame {
    height: 330px;
  }

  .detail-hero {
    padding: 18px;
  }

  .detail-poster {
    height: 420px;
  }

  .player-start span {
    width: 74px;
    height: 74px;
    font-size: 34px;
  }
}
