:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --slate-50: #f8fafc;
  --slate-900: #0f172a;
  --text-main: #1f2937;
  --text-muted: #667085;
  --panel: rgba(255, 255, 255, 0.88);
  --shadow-soft: 0 18px 50px rgba(190, 18, 60, 0.14);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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;
  border-bottom: 1px solid rgba(254, 205, 211, 0.9);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(244, 63, 94, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1240px;
  min-height: 78px;
  margin: 0 auto;
  padding: 0 22px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, #fff 0, #ffe4e6 28%, #fb7185 100%);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.28);
}

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

.brand-text strong,
.footer-logo strong {
  font-size: 1.35rem;
  line-height: 1.05;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: #6b7280;
  font-size: 0.75rem;
}

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

.nav-link {
  padding: 10px 16px;
  border-radius: 12px;
  color: #4b5563;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rose-600);
  background: var(--rose-100);
  transform: translateY(-1px);
}

.header-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-bar input,
.filter-bar select {
  border: 1px solid var(--rose-200);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-search input {
  width: 230px;
  padding: 10px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--rose-400);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.16);
}

.header-search button,
.mobile-search button,
.big-search button,
.primary-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: white;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(244, 63, 94, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 34px rgba(244, 63, 94, 0.3);
}

.mobile-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--rose-50);
  color: var(--rose-600);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px 18px;
}

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

.mobile-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #4b5563;
}

.mobile-panel a:hover {
  background: var(--rose-50);
  color: var(--rose-600);
}

.mobile-search {
  margin-bottom: 12px;
}

.mobile-search input {
  width: 100%;
  padding: 10px 14px;
}

.hero-section {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-collage {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease;
}

.hero-panel:hover img {
  transform: scale(1.1);
}

.hero-panel span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  color: white;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-panel:hover span {
  opacity: 1;
  transform: translateY(0);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.5), rgba(248, 250, 252, 0.98));
}

.hero-content {
  width: min(920px, calc(100% - 32px));
  text-align: center;
  color: white;
  padding: 70px 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #fff7ed;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0 auto 24px;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.03;
  background: linear-gradient(90deg, #fb7185, #f472b6, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
}

.hero-content p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.8;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
}

.hero-actions,
.hero-feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, transform 0.25s ease;
}

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

.hero-feature-list {
  margin-top: 26px;
}

.hero-pill {
  display: flex;
  flex-direction: column;
  min-width: 190px;
  max-width: 260px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(14px);
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-pill strong {
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-pill span {
  color: #fecdd3;
  margin-top: 4px;
  font-size: 0.88rem;
}

.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 22px;
}

.soft-section {
  max-width: none;
  padding-left: max(22px, calc((100vw - 1240px) / 2 + 22px));
  padding-right: max(22px, calc((100vw - 1240px) / 2 + 22px));
  background: linear-gradient(120deg, rgba(255, 241, 242, 0.75), rgba(255, 251, 235, 0.75));
}

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

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

.section-more {
  color: var(--rose-600);
  font-weight: 700;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(254, 205, 211, 0.72);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 113, 133, 0.9);
  box-shadow: 0 24px 60px rgba(190, 18, 60, 0.2);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111827;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.68;
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--rose-500);
  font-size: 1.35rem;
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

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

.duration-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.duration-badge {
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.64);
}

.rank-badge {
  left: 12px;
  top: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: linear-gradient(135deg, var(--rose-500), var(--amber-500));
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.28);
}

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

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--rose-600);
}

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.card-meta {
  justify-content: space-between;
  color: #667085;
  font-size: 0.78rem;
}

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

.tag-row span,
.detail-tags a {
  border-radius: 999px;
  padding: 6px 10px;
  background: linear-gradient(90deg, var(--rose-50), #fdf2f8);
  color: var(--rose-600);
  font-size: 0.78rem;
  border: 1px solid rgba(254, 205, 211, 0.82);
}

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

.category-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 24px;
  color: white;
  box-shadow: var(--shadow-card);
}

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

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

.category-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.88));
}

.category-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.category-card strong {
  font-size: 1.05rem;
}

.category-card small {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(254, 205, 211, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.horizontal-card:hover {
  transform: translateX(4px);
  background: white;
}

.horizontal-poster {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: #111827;
}

.horizontal-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-rank {
  position: absolute;
  left: 8px;
  top: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--rose-500), var(--amber-500));
  font-size: 0.82rem;
  font-weight: 800;
}

.horizontal-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.horizontal-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horizontal-info small,
.horizontal-info em {
  color: #667085;
  font-size: 0.84rem;
  font-style: normal;
}

.horizontal-info em {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.seo-panel,
.detail-article,
.side-card,
.category-summary-card a,
.filter-bar,
.search-status {
  border: 1px solid rgba(254, 205, 211, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.seo-panel {
  align-self: start;
  padding: 28px;
}

.seo-panel h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.seo-panel p {
  color: #4b5563;
  line-height: 1.8;
}

.page-hero {
  color: white;
  background: linear-gradient(120deg, rgba(244, 63, 94, 0.95), rgba(236, 72, 153, 0.92), rgba(245, 158, 11, 0.92));
}

.page-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 22px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

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

.category-summary-card a {
  display: block;
  min-height: 180px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-summary-card a:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(190, 18, 60, 0.18);
}

.category-summary-card span {
  font-size: 2rem;
}

.category-summary-card h2 {
  margin: 14px 0 10px;
}

.category-summary-card p {
  color: #667085;
  line-height: 1.7;
}

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-chip {
  padding: 10px 14px;
  border: 1px solid var(--rose-200);
  border-radius: 999px;
  background: white;
  color: #4b5563;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: transparent;
  color: white;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
}

.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #667085;
  font-size: 0.9rem;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 12px 14px;
}

.big-search {
  position: relative;
  max-width: 760px;
  margin-top: 22px;
}

.big-search input {
  width: 100%;
  padding: 18px 145px 18px 22px;
  color: #1f2937;
  font-size: 1.05rem;
}

.big-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.search-status {
  margin-bottom: 22px;
  padding: 18px 20px;
  color: #4b5563;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 22px 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #667085;
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--rose-600);
}

.player-card {
  overflow: hidden;
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.player-shell {
  position: relative;
  background: black;
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.82));
  cursor: pointer;
}

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

.big-play {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 2rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.player-overlay:hover .big-play {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.28);
}

.player-overlay strong {
  max-width: 72%;
  text-align: center;
  font-size: clamp(1.15rem, 3vw, 2.1rem);
}

.player-overlay small {
  color: #fecdd3;
}

.detail-article {
  margin-top: 24px;
  padding: 28px;
}

.detail-article h1 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.detail-article h2,
.side-card h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.detail-article p {
  color: #374151;
  line-height: 1.9;
}

.lead-text {
  font-weight: 700;
  color: #1f2937 !important;
}

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

.detail-meta span {
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--rose-50);
  color: var(--rose-600);
  font-size: 0.9rem;
}

.review-box {
  border: 1px solid rgba(254, 205, 211, 0.9);
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-card {
  padding: 20px;
}

.cover-card img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 16px;
}

.full-btn {
  display: flex;
  justify-content: center;
}

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

.info-card dt {
  color: #667085;
}

.info-card dd {
  margin: 0;
  color: #1f2937;
}

.compact-list .horizontal-card {
  grid-template-columns: 92px 1fr;
  box-shadow: none;
}

.site-footer {
  color: white;
  background: linear-gradient(135deg, #0f172a, #4c0519, #0f172a);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 22px 32px;
}

.footer-logo {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.footer-brand p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #fecdd3;
  font-size: 1.05rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .detail-layout,
  .two-column-section {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-card {
    grid-column: 1 / -1;
  }
}

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

  .mobile-toggle {
    display: inline-flex;
  }

  .brand {
    min-width: auto;
  }

  .hero-collage {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel:nth-child(n + 4) {
    display: none;
  }

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

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

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

  .footer-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

@media (max-width: 540px) {
  .header-inner {
    min-height: 66px;
    padding: 0 16px;
  }

  .brand-text small {
    display: none;
  }

  .hero-section {
    min-height: 72vh;
  }

  .hero-content {
    padding: 48px 12px;
  }

  .hero-actions,
  .hero-feature-list {
    align-items: stretch;
    flex-direction: column;
  }

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

  .content-section,
  .page-hero-inner,
  .detail-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .horizontal-card {
    grid-template-columns: 96px 1fr;
  }

  .big-search input {
    padding-right: 22px;
  }

  .big-search button {
    position: static;
    transform: none;
    margin-top: 10px;
    width: 100%;
  }

  .big-search {
    display: block;
  }
}
