:root {
  --page-bg: #fff7ed;
  --panel: #ffffff;
  --panel-soft: #fffbeb;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --yellow: #fde68a;
  --shadow: 0 18px 45px rgba(124, 45, 18, 0.14);
  --soft-shadow: 0 10px 28px rgba(124, 45, 18, 0.10);
  --radius: 24px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
  box-shadow: 0 8px 24px rgba(154, 52, 18, 0.06);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(90deg, #b45309, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-subtitle {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  color: #374151;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
  background: #fff7ed;
  transform: translateY(-1px);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 6px;
  border-radius: 999px;
}

.header-search input,
.mobile-search input,
.library-toolbar input,
.hero-search input {
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
}

.header-search input {
  width: 188px;
  padding: 0 8px;
}

.header-search button,
.mobile-search button,
.hero-search button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.22);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--orange);
  background: #fff7ed;
  font-size: 24px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(251, 146, 60, 0.22);
  padding: 14px 16px 18px;
}

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

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 10px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  color: #fff;
  background: linear-gradient(120deg, #fb923c 0%, #f97316 52%, #f59e0b 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 460px;
  height: 460px;
  right: -140px;
  top: -120px;
  background: rgba(255, 255, 255, 0.18);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -100px;
  bottom: -130px;
  background: rgba(253, 230, 138, 0.24);
}

.hero-icons span {
  position: absolute;
  opacity: 0.18;
  filter: blur(0.1px);
  transform: rotate(-9deg);
  font-size: clamp(48px, 7vw, 92px);
}

.hero-icons span:nth-child(1) {
  top: 62px;
  left: 8%;
}

.hero-icons span:nth-child(2) {
  top: 180px;
  right: 9%;
}

.hero-icons span:nth-child(3) {
  bottom: 74px;
  left: 26%;
}

.hero-icons span:nth-child(4) {
  top: 120px;
  left: 52%;
}

.hero-track {
  position: relative;
  min-height: 660px;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-layout {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 48px;
  padding: 70px 0;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 16px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  font-weight: 800;
  font-size: 14px;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 950;
}

.hero h1 span,
.hero h2 span {
  color: var(--yellow);
}

.hero-copy p {
  max-width: 720px;
  margin: 22px 0 0;
  color: #fff7ed;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.65;
}

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

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

.primary-button {
  color: var(--orange);
  background: #fff;
  box-shadow: 0 16px 32px rgba(124, 45, 18, 0.18);
}

.secondary-button {
  color: #fff;
  background: rgba(194, 65, 12, 0.72);
  box-shadow: 0 14px 28px rgba(124, 45, 18, 0.18);
}

.ghost-button {
  color: var(--orange);
  background: #fff7ed;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 36px rgba(124, 45, 18, 0.18);
}

.hero-search {
  display: flex;
  width: min(100%, 620px);
  margin-top: 28px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(124, 45, 18, 0.16);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-tags a,
.tag-row span,
.info-pill,
.filter-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags a {
  color: #fff;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster-panel {
  position: relative;
}

.hero-poster-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(124, 45, 18, 0.28);
  background: linear-gradient(135deg, #ffedd5, #fef3c7);
  transform: rotate(2deg);
}

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

.hero-slide.is-active .hero-poster-card img {
  transform: scale(1.04);
}

.hero-poster-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(14px);
}

.hero-poster-info strong {
  display: block;
  margin-bottom: 7px;
  font-size: 22px;
}

.hero-poster-info em {
  color: #fed7aa;
  font-style: normal;
  font-size: 14px;
}

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

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.section {
  padding: 72px 0;
}

.section.white {
  background: #fff;
}

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

.section-title {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 950;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

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

.feature-card {
  padding: 30px 22px;
  text-align: center;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.feature-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 42px;
}

.feature-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.poster-link,
.poster-wrap {
  display: block;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #ffedd5, #fef3c7);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}

.movie-card:hover .poster-shade {
  background: rgba(0, 0, 0, 0.34);
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.92);
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.year-badge {
  right: 12px;
  background: rgba(249, 115, 22, 0.94);
}

.rank-badge {
  left: 12px;
  background: rgba(17, 24, 39, 0.82);
}

.movie-card-body {
  padding: 18px;
}

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

.meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  color: var(--orange);
  border-radius: 999px;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
}

.meta-row span:nth-child(2) {
  color: #4b5563;
  background: #f3f4f6;
}

.movie-card h2 {
  margin: 12px 0 6px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
}

.movie-card h2 a:hover {
  color: var(--orange);
}

.movie-card p {
  min-height: 45px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.tag-row span,
.info-pill {
  padding: 6px 9px;
  color: #92400e;
  background: #fef3c7;
}

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

.category-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

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

.category-info strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 950;
}

.category-info em {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.rank-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.rank-panel {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.rank-panel h2 {
  margin: 0;
  padding: 22px 22px 10px;
  font-size: 24px;
}

.rank-list {
  display: grid;
  gap: 0;
  padding: 8px 14px 16px;
}

.rank-item {
  display: grid;
  grid-template-columns: 38px 56px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: #fff7ed;
  transform: translateX(3px);
}

.rank-item img {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
  background: #ffedd5;
}

.list-rank {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  font-weight: 950;
}

.list-rank.soft {
  background: #fed7aa;
  color: var(--orange-dark);
}

.rank-item strong,
.rank-item em {
  display: block;
}

.rank-item strong {
  line-height: 1.25;
  font-size: 15px;
}

.rank-item em {
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}

.page-banner {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background: linear-gradient(120deg, var(--orange), var(--amber));
}

.page-banner::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #ffedd5;
  font-size: 14px;
  font-weight: 800;
}

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

.page-banner h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 950;
}

.page-banner p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #fff7ed;
  font-size: 18px;
  line-height: 1.75;
}

.library-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
  margin: 42px 0 28px;
  padding: 24px;
  border: 1px solid rgba(251, 146, 60, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.library-toolbar h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

.library-toolbar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.toolbar-actions {
  display: grid;
  gap: 14px;
}

.library-toolbar input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-pill {
  border: 0;
  padding: 8px 12px;
  color: #92400e;
  background: #fef3c7;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  color: #fff;
  background: var(--orange);
  transform: translateY(-1px);
}

.empty-state {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.detail-top {
  padding: 46px 0 28px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 32px;
  align-items: start;
}

.detail-cover {
  overflow: hidden;
  border-radius: 30px;
  background: #ffedd5;
  box-shadow: var(--shadow);
}

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

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 950;
}

.detail-copy .lead {
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.24);
  aspect-ratio: 16 / 9;
}

.movie-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #fff;
  background: #111827;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.54;
  filter: blur(0.2px);
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.58));
}

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

.play-button-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 14px;
}

.play-button-core span:first-child {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.35);
  font-size: 36px;
}

.play-button-core span:last-child {
  font-size: 20px;
  font-weight: 950;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.detail-section {
  padding: 34px 0;
}

.content-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 950;
}

.content-card p {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.9;
  font-size: 16px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.site-footer {
  margin-top: 60px;
  color: #4b5563;
  background: #fff;
  border-top: 1px solid rgba(251, 146, 60, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 36px;
  padding: 46px 0 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 22px;
}

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

.site-footer p {
  margin: 0;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.compact-links {
  grid-template-columns: 1fr 1fr;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding: 18px 16px 28px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(251, 146, 60, 0.16);
}

@media (max-width: 1100px) {
  .header-search {
    display: none;
  }

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

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

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

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

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

  .hero,
  .hero-track,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 46px 0 92px;
  }

  .hero-poster-card,
  .hero-poster-card img {
    min-height: auto;
    height: auto;
  }

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

  .feature-grid,
  .movie-grid,
  .category-grid,
  .detail-layout,
  .detail-columns,
  .library-toolbar,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }
}

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

  .header-inner {
    height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

  .hero h1,
  .hero h2 {
    font-size: 40px;
  }

  .hero-search,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    border-radius: 24px;
  }

  .hero-search input {
    min-height: 46px;
  }

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

  .movie-card-body {
    padding: 13px;
  }

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

  .movie-card p {
    min-height: 42px;
    font-size: 13px;
  }

  .page-banner {
    padding: 50px 0;
  }

  .content-card {
    padding: 22px;
  }
}
