/* Static movie site theme based on the uploaded cyan-blue cinematic style. */
:root {
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --blue: #2563eb;
  --blue-soft: #3b82f6;
  --teal: #14b8a6;
  --purple: #7c3aed;
  --slate: #0f172a;
  --text: #1f2937;
  --muted: #64748b;
  --soft: #f8fafc;
  --line: #e2e8f0;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--cyan), var(--blue-soft), var(--teal));
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
  backdrop-filter: blur(12px);
}

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

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

.brand-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
  font-size: 18px;
}

.brand-copy,
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 22px;
  font-weight: 800;
}

.brand-copy small,
.footer-brand small {
  margin-top: 4px;
  opacity: 0.9;
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-weight: 700;
}

.main-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: #fef08a;
  transform: translateY(-1px);
}

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

.header-search input,
.mobile-panel input,
.large-search input,
.filter-bar input {
  border: 0;
  outline: 0;
  border-radius: 999px;
}

.header-search input {
  width: 230px;
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.header-search input::placeholder,
.mobile-panel input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.header-search button,
.mobile-panel button,
.large-search button {
  border: 0;
  border-radius: 999px;
  color: var(--blue);
  background: #ffffff;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-panel button:hover,
.large-search button:hover {
  background: #fde047;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  color: #ffffff;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px;
  background: linear-gradient(180deg, #2563eb, #0891b2);
}

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

.mobile-panel form {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto 16px;
}

.mobile-panel input {
  min-width: 0;
  flex: 1;
  padding: 12px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-nav {
  width: min(560px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.mobile-nav a {
  padding: 10px 0;
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #22d3ee, #3b82f6 48%, #7c3aed);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.16) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.16) 75%, transparent 75%, transparent);
  background-size: 42px 42px;
  pointer-events: none;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

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

.hero-bg,
.detail-bg,
.image-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg {
  filter: saturate(1.1) contrast(1.02);
  opacity: 0.48;
}

.hero-shade,
.detail-shade,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.58), rgba(37, 99, 235, 0.38));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: center;
  padding-top: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cffafe;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.detail-info h1,
.page-hero h1 {
  margin: 16px 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-one-line {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.45;
}

.hero-summary {
  max-width: 760px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 11px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.78);
  font-size: 13px;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
}

.primary-btn:hover {
  color: #1d4ed8;
  background: #fde047;
  transform: translateY(-2px) scale(1.02);
}

.primary-btn.light {
  color: var(--blue);
  background: #ffffff;
}

.ghost-btn {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.12);
}

.ghost-btn:hover {
  color: var(--blue);
  background: #ffffff;
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 8px 13px;
  color: #111827;
  background: #fde047;
  font-weight: 900;
}

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

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

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

.content-section {
  padding: 72px 0;
}

.soft-bg {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

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

.section-title h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: #1f2937;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-action {
  color: var(--cyan-dark);
  font-weight: 900;
}

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .card-media img,
.category-card:hover img,
.compact-card:hover img {
  transform: scale(1.06);
}

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

.card-badge {
  left: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.card-duration {
  right: 12px;
  background: rgba(15, 23, 42, 0.76);
}

.card-body {
  padding: 18px;
}

.movie-card h3,
.compact-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-card h3 a:hover,
.compact-card h3 a:hover,
.rank-title:hover {
  color: var(--cyan-dark);
}

.movie-card p,
.compact-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.card-meta,
.compact-meta,
.overview-meta,
.page-stats,
.player-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.featured-card {
  min-height: 320px;
  color: #ffffff;
}

.featured-card .card-media img {
  aspect-ratio: 16 / 11;
}

.featured-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 72px 22px 22px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.featured-overlay p,
.featured-overlay .card-meta {
  color: rgba(255, 255, 255, 0.82);
}

.category-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  color: #ffffff;
  background: #0f172a;
  box-shadow: var(--shadow);
}

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

.category-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.82), rgba(37, 99, 235, 0.66), rgba(124, 58, 237, 0.72));
}

.category-card strong,
.category-card small,
.category-card p {
  position: relative;
  z-index: 2;
  display: block;
}

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

.category-card small {
  margin: 8px 0 20px;
  font-weight: 800;
  color: #cffafe;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 32px;
  align-items: start;
}

.ranking-panel,
.detail-side-card,
.search-panel,
.card-surface,
.rank-table-wrap {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.ranking-panel {
  padding: 24px;
  position: sticky;
  top: 96px;
}

.compact-title {
  margin-bottom: 18px;
}

.compact-title h2,
.hot-panel h2 {
  font-size: 25px;
}

.ranking-list,
.hot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.ranking-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.rank-num,
.table-rank {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #facc15, #f97316);
  font-weight: 900;
}

.compact-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.compact-card:hover {
  background: #f8fafc;
}

.compact-thumb {
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.compact-thumb img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cta-band {
  padding: 70px 0;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
}

.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 900;
}

.cta-band p {
  max-width: 720px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.gradient-hero {
  padding: 74px 0;
  background: linear-gradient(135deg, #0891b2, #2563eb, #7c3aed);
}

.image-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
}

.page-hero .container,
.detail-hero .container {
  position: relative;
  z-index: 2;
}

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

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: #fef08a;
  font-weight: 900;
}

.page-stats span,
.player-caption span {
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.filter-bar {
  margin-bottom: 28px;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.filter-bar input,
.large-search input {
  width: 100%;
  padding: 15px 18px;
  color: var(--text);
  background: #f1f5f9;
}

.filter-years,
.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-years button,
.quick-filters button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #0e7490;
  background: #ecfeff;
  font-weight: 800;
  cursor: pointer;
}

.filter-years button.is-active,
.quick-filters button:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.07);
}

.overview-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
  min-height: 142px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.overview-thumbs img {
  width: 100%;
  height: 100%;
  min-height: 68px;
  object-fit: cover;
}

.overview-thumbs img:first-child {
  grid-row: span 2;
}

.category-overview-card h2 {
  margin: 4px 0 10px;
  font-size: 25px;
}

.category-overview-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.overview-meta a {
  color: var(--cyan-dark);
  font-weight: 900;
}

.rank-table-wrap {
  overflow-x: auto;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.rank-table th,
.rank-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.rank-table th {
  color: #334155;
  background: #f8fafc;
  font-weight: 900;
}

.rank-title {
  display: block;
  margin-bottom: 5px;
  font-weight: 900;
}

.rank-table small {
  color: var(--muted);
}

.hot-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.hot-list span {
  font-weight: 900;
  color: var(--cyan-dark);
}

.hot-list small {
  color: var(--muted);
}

.search-panel {
  margin-bottom: 22px;
  padding: 24px;
}

.large-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 12px;
}

.large-search button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.search-summary {
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #0f172a;
}

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

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

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

.detail-info p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.75;
}

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

.player-card {
  overflow: hidden;
  border-radius: 24px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.player-shell {
  position: relative;
  background: #000000;
}

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

.play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  font-size: 30px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.play-overlay.is-hidden {
  display: none;
}

.player-caption {
  padding: 16px;
  color: #ffffff;
}

.detail-side-card {
  padding: 24px;
}

.detail-side-card h2 {
  margin: 0 0 18px;
  font-size: 25px;
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.detail-list span {
  color: var(--muted);
}

.article-content {
  max-width: 920px;
}

.article-content h2 {
  margin: 0 0 14px;
  font-size: 30px;
}

.article-content p {
  margin: 0 0 28px;
  color: #334155;
  font-size: 17px;
  line-height: 1.95;
}

.card-surface {
  padding: 32px;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, #1e293b, #1e3a8a, #164e63);
}

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

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #67e8f9;
}

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.66);
}

.animate-fade-in {
  animation: fadeIn 0.9s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

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

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
    align-content: center;
  }

  .hero-poster {
    display: none;
  }

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

  .split-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 66px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .hero-carousel {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-copy h1,
  .detail-info h1,
  .page-hero h1 {
    font-size: 38px;
  }

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

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

  .featured-grid,
  .three-col,
  .two-col,
  .category-grid,
  .overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-overview-card,
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

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

  .large-search {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
