* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 48%, #fef3c7 100%);
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.86);
  border-bottom: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: 0 14px 40px rgba(146, 64, 14, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #eab308);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.36);
  transform: rotate(-6deg);
}

.brand-name {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(90deg, #d97706, #ca8a04);
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-subtitle {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  color: #b45309;
}

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

.nav-link {
  color: #78350f;
  font-weight: 700;
  transition: color 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #d97706;
  transform: translateY(-1px);
}

.header-search,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input,
.mobile-search input,
.filter-search input {
  border: 2px solid #fcd34d;
  outline: none;
  color: #78350f;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 260px;
  padding: 11px 44px 11px 18px;
  border-radius: 999px;
}

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

.header-search button {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #eab308);
  cursor: pointer;
}

.menu-button {
  display: none;
  border: 0;
  color: #78350f;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid #fde68a;
  background: linear-gradient(180deg, #fffbeb, #fef3c7);
  box-shadow: 0 20px 40px rgba(146, 64, 14, 0.14);
}

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

.mobile-nav,
.mobile-search {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
}

.mobile-nav {
  display: grid;
  gap: 12px;
}

.mobile-link {
  padding: 10px 0;
  color: #78350f;
  font-weight: 800;
}

.mobile-link.active {
  color: #d97706;
}

.mobile-search input {
  width: 100%;
  padding: 12px 92px 12px 16px;
  border-radius: 18px;
}

.mobile-search button {
  position: absolute;
  right: 30px;
  border: 0;
  border-radius: 14px;
  padding: 8px 14px;
  color: #ffffff;
  background: #d97706;
  cursor: pointer;
}

.hero {
  position: relative;
  height: min(760px, calc(100vh - 80px));
  min-height: 580px;
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.75s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(245, 158, 11, 0.32), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 72px 24px 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.hero-label,
.detail-label,
.category-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #eab308);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.32);
}

.hero h1 {
  max-width: 860px;
  margin: 20px 0 16px;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
}

.hero p {
  max-width: 760px;
  margin: 0 0 24px;
  color: #e5e7eb;
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.7;
}

.hero-tags,
.detail-meta,
.card-meta,
.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 0;
}

.hero-keywords span,
.detail-tags a {
  border-radius: 999px;
  padding: 7px 12px;
  color: #fde68a;
  background: rgba(146, 64, 14, 0.55);
  border: 1px solid rgba(251, 191, 36, 0.38);
}

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

.primary-button,
.ghost-button,
.section-more,
.side-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
  padding: 15px 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #eab308);
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.35);
}

.primary-button:hover,
.section-more:hover,
.side-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.36);
}

.ghost-button {
  padding: 14px 26px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hero-arrow.left {
  left: 24px;
}

.hero-arrow.right {
  right: 24px;
}

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

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

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

.feature-strip {
  max-width: 1280px;
  margin: -56px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-box {
  min-height: 150px;
  padding: 28px;
  border-radius: 26px;
  color: #ffffff;
  box-shadow: 0 24px 50px rgba(146, 64, 14, 0.2);
  transform: translateY(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(146, 64, 14, 0.28);
}

.feature-box strong {
  display: block;
  font-size: 26px;
  margin-bottom: 12px;
}

.feature-box span {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.feature-box.amber {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.feature-box.yellow {
  background: linear-gradient(135deg, #eab308, #f59e0b);
}

.feature-box.orange {
  background: linear-gradient(135deg, #fb923c, #d97706);
}

.content-section,
.page-shell,
.detail-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px 0;
}

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

.section-head h2 {
  margin: 0 0 10px;
  color: transparent;
  background: linear-gradient(90deg, #d97706, #ca8a04);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: #6b7280;
  font-size: 17px;
}

.section-more,
.side-link {
  flex: none;
  padding: 12px 20px;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}

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

.movie-card {
  min-width: 0;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(146, 64, 14, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(146, 64, 14, 0.2);
}

.card-link,
.list-link {
  display: block;
  height: 100%;
}

.poster-wrap,
.list-poster {
  position: relative;
  overflow: hidden;
  background: #111827;
}

.poster-wrap {
  aspect-ratio: 16 / 10;
}

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

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

.duration-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.duration-pill {
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f59e0b, #eab308);
}

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-body {
  padding: 20px;
}

.card-title-row,
.list-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.card-title-row h2,
.list-head h2 {
  margin: 0;
  color: #111827;
  font-weight: 900;
  line-height: 1.28;
}

.card-title-row h2 {
  font-size: 20px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.score {
  flex: none;
  color: #d97706;
  font-weight: 900;
}

.card-body p,
.list-content p {
  color: #6b7280;
  line-height: 1.65;
}

.card-body p {
  min-height: 54px;
  margin: 10px 0 14px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta,
.meta-row {
  color: #78716c;
  font-size: 13px;
}

.card-meta span,
.meta-row span {
  display: inline-flex;
  align-items: center;
}

.card-meta span + span::before,
.meta-row span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: #f59e0b;
}

.category-pill {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-size: 12px;
  font-weight: 900;
}

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

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

.category-tile,
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(146, 64, 14, 0.12);
}

.category-tile {
  min-height: 220px;
  padding: 24px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-tile::after,
.category-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1));
}

.category-tile img,
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover img,
.category-card:hover img {
  transform: scale(1.08);
}

.category-tile span,
.category-tile p,
.category-card a div {
  position: relative;
  z-index: 1;
}

.category-tile span {
  font-size: 24px;
  font-weight: 950;
}

.category-tile p {
  margin: 10px 0 0;
  color: #fef3c7;
  line-height: 1.55;
}

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

.category-card a {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: #ffffff;
}

.category-card h2 {
  margin: 12px 0 8px;
  font-size: 30px;
}

.category-card p {
  max-width: 560px;
  margin: 0;
  color: #fef3c7;
  line-height: 1.65;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
}

.category-samples a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 14px;
  font-weight: 800;
}

.page-hero {
  margin-top: 36px;
  border-radius: 34px;
  padding: 54px;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #92400e 0%, #d97706 54%, #f59e0b 100%);
  box-shadow: 0 28px 66px rgba(146, 64, 14, 0.25);
}

.page-hero span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 820px;
  margin: 0;
  color: #fffbeb;
  font-size: 18px;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

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

.filter-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #fde68a;
  box-shadow: 0 16px 36px rgba(146, 64, 14, 0.1);
}

.filter-search input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 18px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row button {
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 8px 12px;
  color: #92400e;
  background: #fffbeb;
  font-weight: 800;
  cursor: pointer;
}

.filter-row button.active,
.filter-row button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #eab308);
  border-color: transparent;
}

.filter-empty {
  grid-column: 1 / -1;
  padding: 40px;
  border-radius: 24px;
  color: #92400e;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  text-align: center;
  font-weight: 900;
}

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

.list-card {
  border-radius: 22px;
}

.list-link {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
}

.list-poster {
  min-height: 150px;
}

.list-content {
  padding: 22px 24px;
}

.list-head h2 {
  font-size: 24px;
}

.list-content p {
  margin: 10px 0 14px;
}

.detail-shell {
  max-width: none;
  padding: 0;
}

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

.detail-bg {
  position: absolute;
  inset: 0;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) scale(1.04);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.22)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 58%);
}

.detail-top {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px 72px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  align-items: end;
  margin-top: 28px;
}

.detail-cover {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.detail-info h1 {
  margin: 22px 0 16px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1.75;
}

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

.player-section {
  max-width: 1180px;
  margin: -80px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

.player-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.14));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-box.playing .player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #eab308);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.45);
  font-size: 34px;
}

.player-overlay strong {
  font-size: 20px;
}

.detail-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px 0;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
}

.story-panel,
.story-side,
.prose-panel {
  border-radius: 28px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(146, 64, 14, 0.12);
}

.story-panel h2,
.story-side h2,
.prose-panel h2,
.prose-panel h3 {
  margin: 0 0 14px;
  color: #92400e;
  font-weight: 950;
}

.story-panel {
  grid-column: 1 / 2;
}

.story-panel p,
.prose-panel p {
  margin: 0;
  color: #4b5563;
  line-height: 1.9;
  font-size: 17px;
}

.story-side {
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
}

.story-side dl {
  margin: 0;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px 16px;
  color: #4b5563;
}

.story-side dt {
  color: #92400e;
  font-weight: 900;
}

.story-side dd {
  margin: 0;
}

.story-side .side-link {
  margin-top: 24px;
}

.related-section {
  padding-top: 54px;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.text-grid div {
  padding: 20px;
  border-radius: 22px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.site-footer {
  margin-top: 80px;
  color: #fffbeb;
  background: linear-gradient(180deg, #78350f, #451a03);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px 34px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-block h2 {
  margin: 0 0 16px;
  color: #fcd34d;
  font-size: 20px;
  font-weight: 950;
}

.footer-block p,
.footer-block a,
.footer-bottom {
  color: #fef3c7;
  line-height: 1.75;
}

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

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px;
  border-top: 1px solid rgba(252, 211, 77, 0.22);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

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

  .menu-button {
    display: block;
  }

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

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 240px 1fr;
  }

  .detail-content {
    grid-template-columns: 1fr;
  }

  .story-panel,
  .story-side {
    grid-column: auto;
    grid-row: auto;
  }

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

@media (max-width: 820px) {
  .header-inner {
    height: 72px;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand-subtitle {
    font-size: 11px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 84px 18px 86px;
  }

  .hero-arrow {
    display: none;
  }

  .feature-strip,
  .content-section,
  .page-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature-strip {
    margin-top: 20px;
  }

  .section-head {
    display: grid;
  }

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

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

  .list-poster {
    aspect-ratio: 16 / 10;
  }

  .page-hero {
    margin-top: 22px;
    padding: 32px 22px;
    border-radius: 26px;
  }

  .detail-top {
    padding: 96px 16px 64px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

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

  .player-box {
    border-radius: 22px;
  }

  .detail-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .story-panel,
  .story-side,
  .prose-panel {
    padding: 22px;
    border-radius: 22px;
  }

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

@media (max-width: 520px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero h1,
  .detail-info h1 {
    letter-spacing: -0.03em;
  }

  .hero-actions,
  .detail-meta,
  .hero-tags {
    align-items: stretch;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .feature-box {
    min-height: 132px;
    padding: 22px;
  }

  .filter-panel {
    padding: 16px;
  }
}
