:root {
  --bg: #fff7ed;
  --bg-soft: #fff1f2;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(251, 146, 60, 0.22);
  --orange: #f97316;
  --pink: #ec4899;
  --amber: #f59e0b;
  --card: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(194, 65, 12, 0.14);
  --radius: 24px;
}

* {
  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:
    radial-gradient(circle at top left, rgba(251, 146, 60, 0.24), transparent 34rem),
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.20), transparent 30rem),
    linear-gradient(135deg, var(--bg), var(--bg-soft) 52%, #fffbeb);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
  background: rgba(255, 247, 237, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(194, 65, 12, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.32);
}

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

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

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 700;
  padding: 9px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--orange);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.top-search,
.inline-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input,
.inline-search input,
.filter-bar input,
.filter-bar select {
  min-width: 0;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 999px;
  color: #374151;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.top-search input {
  width: 220px;
  padding: 10px 14px;
}

.inline-search input,
.filter-bar input,
.filter-bar select {
  padding: 13px 16px;
}

.top-search input:focus,
.inline-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.top-search button,
.inline-search button {
  border: 0;
  color: #fff;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.22);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--orange);
  background: rgba(249, 115, 22, 0.12);
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #374151;
  font-weight: 700;
  background: rgba(255, 247, 237, 0.72);
}

.mobile-link.is-active {
  color: var(--orange);
}

.hero-carousel {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  height: 540px;
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: #111827;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.10)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.40), transparent 48%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  top: 50%;
  width: min(620px, calc(100% - 64px));
  transform: translateY(-50%);
  color: #fff;
}

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

.hero-content h1,
.sub-hero h1,
.detail-info h1 {
  margin: 12px 0 14px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.card-tags span {
  color: #c2410c;
  background: rgba(255, 237, 213, 0.88);
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.34);
}

.ghost-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.ghost-btn.light {
  color: var(--orange);
  border-color: rgba(249, 115, 22, 0.22);
  background: rgba(255, 255, 255, 0.78);
}

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

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.hero-control.prev {
  left: 18px;
}

.hero-control.next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.50);
  transition: width 0.22s ease, background 0.22s ease;
}

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

.quick-panel,
.section {
  margin-top: 54px;
}

.quick-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.quick-panel span {
  display: block;
  color: var(--orange);
  font-weight: 900;
}

.quick-panel strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: -0.04em;
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-title a {
  color: var(--orange);
  font-weight: 900;
}

.section-lead {
  max-width: 800px;
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

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

.category-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111827;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
}

.category-grid.large .category-card {
  min-height: 260px;
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.category-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08)),
    linear-gradient(135deg, rgba(249, 115, 22, 0.36), rgba(236, 72, 153, 0.30));
}

.category-name,
.category-desc {
  position: absolute;
  left: 18px;
  right: 18px;
  color: #fff;
}

.category-name {
  bottom: 52px;
  font-size: 24px;
  font-weight: 900;
}

.category-desc {
  bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 44px rgba(194, 65, 12, 0.10);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(194, 65, 12, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

.movie-card.compact .poster-link {
  aspect-ratio: 16 / 10;
}

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

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

.poster-badge,
.poster-year {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.poster-badge {
  left: 10px;
  top: 10px;
}

.poster-year {
  right: 10px;
  bottom: 10px;
}

.card-body {
  padding: 16px;
}

.card-title {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-title:hover {
  color: var(--orange);
}

.card-desc {
  display: -webkit-box;
  min-height: 46px;
  margin: 9px 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
}

.card-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 237, 213, 0.7);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.rank-panel,
.side-card,
.detail-article {
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow);
}

.rank-panel {
  position: sticky;
  top: 94px;
  padding: 20px;
}

.compact-title h2 {
  font-size: 26px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 247, 237, 0.80);
}

.rank-item:hover {
  background: rgba(255, 237, 213, 0.95);
}

.rank-no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.rank-item img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-info strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.sub-hero {
  margin-top: 34px;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at right, rgba(236, 72, 153, 0.18), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 237, 213, 0.70));
  box-shadow: var(--shadow);
}

.sub-hero.tinted {
  color: #fff;
  background:
    radial-gradient(circle at right, rgba(255, 255, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--orange), var(--pink));
}

.sub-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.sub-hero.tinted p,
.sub-hero.tinted .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 170px auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(251, 146, 60, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(194, 65, 12, 0.08);
}

.filter-bar.wide {
  grid-template-columns: minmax(260px, 1fr) 170px 170px auto;
}

.filter-count {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.ranking-table {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 42px 58px minmax(160px, 1.2fr) minmax(130px, 1fr) minmax(150px, 1fr) 88px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(251, 146, 60, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.ranking-row:hover {
  border-color: rgba(249, 115, 22, 0.38);
  box-shadow: 0 16px 30px rgba(194, 65, 12, 0.10);
}

.ranking-row span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  border-radius: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.ranking-row img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-row em,
.ranking-row small {
  color: var(--muted);
  font-style: normal;
}

.ranking-row b {
  color: var(--orange);
}

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

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) scale(1.08);
  opacity: 0.72;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)),
    linear-gradient(0deg, rgba(255, 247, 237, 1), rgba(255, 247, 237, 0) 44%);
}

.detail-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 70px 0 90px;
  color: #fff;
}

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

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

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

.detail-info h1 {
  color: #fff;
}

.detail-line {
  max-width: 720px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.detail-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.player-panel {
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 12px;
  width: 100%;
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.30), rgba(0, 0, 0, 0.52) 42%, rgba(0, 0, 0, 0.74)),
    rgba(0, 0, 0, 0.35);
}

.player-cover strong {
  max-width: min(700px, calc(100% - 48px));
  overflow: hidden;
  font-size: clamp(22px, 4vw, 42px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-orb {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding-left: 6px;
  border-radius: 50%;
  color: var(--orange);
  font-size: 34px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.30);
}

.movie-player.is-playing .player-cover {
  display: none;
}

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

.detail-article {
  padding: clamp(22px, 4vw, 40px);
}

.detail-article h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

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

.detail-article p {
  margin: 0 0 16px;
  color: #374151;
  font-size: 17px;
  line-height: 2;
}

.side-card {
  position: sticky;
  top: 94px;
  padding: 24px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

.side-card dt {
  color: var(--muted);
  font-weight: 900;
}

.side-card dd {
  margin: 0;
  color: #111827;
  font-weight: 700;
}

.side-card a {
  color: var(--orange);
}

.site-footer {
  margin-top: 72px;
  padding: 42px 0;
  color: #7c2d12;
  border-top: 1px solid rgba(251, 146, 60, 0.18);
  background: rgba(255, 237, 213, 0.54);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 18px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: #9a3412;
}

.footer-links,
.footer-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
  font-weight: 800;
}

.footer-cats {
  grid-column: 1 / -1;
  justify-content: flex-start;
  color: #9a3412;
  font-size: 14px;
}

[data-card].is-hidden {
  display: none;
}

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

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

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

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

  .rank-panel,
  .side-card {
    position: static;
  }
}

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

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

  .hero-carousel {
    height: 620px;
    border-radius: 0 0 28px 28px;
    width: 100%;
    margin-top: 0;
  }

  .hero-content {
    left: 24px;
    width: calc(100% - 48px);
  }

  .hero-content h1,
  .sub-hero h1,
  .detail-info h1 {
    font-size: 40px;
  }

  .quick-panel,
  .filter-bar,
  .filter-bar.wide {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .inline-search {
    width: 100%;
  }

  .inline-search input {
    width: 100%;
  }

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

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

  .detail-head {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .detail-poster {
    width: min(280px, 80vw);
  }

  .ranking-row {
    grid-template-columns: 36px 52px minmax(0, 1fr);
  }

  .ranking-row em,
  .ranking-row small,
  .ranking-row b {
    display: none;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .header-inner {
    width: min(100% - 24px, 1180px);
    height: 64px;
  }

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

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

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

  .hero-control {
    display: none;
  }

  .hero-content p {
    font-size: 16px;
  }

  .card-title {
    min-height: auto;
  }
}
