:root {
  --orange: #f97316;
  --red: #ef4444;
  --pink: #ec4899;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --green: #10b981;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.18);
  --radius-xl: 22px;
  --radius-2xl: 30px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-900);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f8fafc 100%);
  font-family: inherit;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--red), var(--pink));
  box-shadow: 0 12px 36px rgba(239, 68, 68, 0.25);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, background 0.25s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.07);
  background: rgba(255, 255, 255, 0.32);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.site-nav a {
  opacity: 0.94;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  width: min(280px, 26vw);
  flex: 0 1 280px;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  border-radius: 999px;
  padding: 11px 45px 11px 16px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

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

.header-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 0;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  color: #fff;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.page-shell {
  min-height: 60vh;
}

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

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.hero-slides,
.hero-slide,
.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    radial-gradient(circle at 82% 22%, rgba(249, 115, 22, 0.26), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
  padding-top: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--orange), var(--red));
  box-shadow: 0 14px 36px rgba(249, 115, 22, 0.3);
}

.hero h1,
.hero h2 {
  margin: 0 0 16px;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.hero p {
  max-width: 690px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-meta span {
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-meta span:first-child {
  color: #fff;
  font-weight: 900;
  background: linear-gradient(90deg, #facc15, var(--orange));
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--red));
  box-shadow: 0 16px 38px rgba(239, 68, 68, 0.28);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
}

.btn-light {
  color: var(--orange);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

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

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

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

.section {
  padding: 70px 0;
}

.section-soft {
  background: linear-gradient(90deg, #fff7ed, #fff1f2);
}

.section-cool {
  background: linear-gradient(135deg, #eff6ff, #f8fafc 45%, #ecfeff);
}

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

.section-title {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 950;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 780px;
  color: var(--slate-600);
  font-size: 17px;
}

.section-link {
  flex: 0 0 auto;
  color: var(--red);
  font-weight: 900;
}

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

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

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

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.poster-link.tall {
  aspect-ratio: 3 / 4;
}

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

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

.poster-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
  opacity: 0.88;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 23px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.92);
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

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

.card-year {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 9px;
  color: var(--slate-600);
  font-size: 12px;
  font-weight: 800;
}

.card-meta a,
.pill-hot {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--red));
  border-radius: 999px;
  padding: 4px 9px;
}

.card-title {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
}

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

.card-summary {
  margin: 0;
  display: -webkit-box;
  min-height: 48px;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.7;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.featured-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  color: #fff;
  box-shadow: var(--shadow-lg);
  background: #000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-5px) scale(1.01);
}

.featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.45), transparent);
}

.featured-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
}

.featured-content h3 {
  margin: 10px 0 8px;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 950;
}

.featured-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--slate-700);
  font-weight: 900;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.category-pill:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: var(--shadow-md);
}

.cta-panel {
  padding: clamp(34px, 6vw, 60px);
  border-radius: var(--radius-2xl);
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, var(--orange), var(--red), var(--pink));
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.cta-panel p {
  margin: 0 auto 28px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.page-hero {
  color: #fff;
  padding: 76px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(90deg, var(--orange), var(--red), var(--pink));
}

.page-hero.blue {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
}

.page-hero.dark {
  background:
    radial-gradient(circle at 82% 12%, rgba(249, 115, 22, 0.22), transparent 30%),
    linear-gradient(135deg, #020617, #111827 52%, #1e293b);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.filter-bar input {
  width: min(100%, 540px);
  min-height: 48px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--slate-900);
  background: var(--slate-100);
}

.filter-bar span {
  color: var(--slate-600);
  font-weight: 800;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 26px;
  border-radius: var(--radius-2xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card::before {
  content: "";
  position: absolute;
  top: -46px;
  right: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(236, 72, 153, 0.18));
}

.category-card h2 {
  position: relative;
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.category-card p {
  position: relative;
  margin: 0 0 22px;
  color: var(--slate-600);
}

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

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

.rank-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rank-num {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.rank-thumb {
  width: 116px;
  height: 72px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: #111827;
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 950;
}

.rank-info p {
  margin: 0;
  color: var(--slate-600);
  font-size: 13px;
}

.detail-player {
  background: #000;
}

.player-container {
  width: min(1240px, 100%);
  margin: 0 auto;
}

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

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #fff;
  cursor: pointer;
  text-align: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.22));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.overlay-play {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 34px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.38);
}

.overlay-title {
  max-width: min(680px, 90%);
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 28px;
  padding: 38px 0 72px;
}

.detail-card,
.sidebar-card {
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.detail-card {
  padding: clamp(20px, 4vw, 34px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 800;
}

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

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

.detail-tag {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  background: #eff6ff;
}

.detail-title {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 950;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--slate-600);
  font-weight: 800;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--slate-100);
}

.detail-card h2 {
  margin: 30px 0 12px;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 950;
}

.lead {
  color: var(--slate-800);
  font-size: 19px;
  font-weight: 850;
}

.detail-card p {
  color: var(--slate-700);
}

.sidebar-card {
  position: sticky;
  top: 88px;
  padding: 20px;
}

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

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

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

.compact-card img {
  width: 112px;
  height: 70px;
  border-radius: 13px;
  object-fit: cover;
  background: #111827;
}

.compact-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

.compact-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 12px;
}

.no-results {
  display: none;
  padding: 30px;
  border-radius: 22px;
  text-align: center;
  color: var(--slate-600);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.no-results.is-visible {
  display: block;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #111827 50%, #0f172a);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 54px 0 34px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 17px;
}

.footer-grid p,
.footer-grid li {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}

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

.footer-grid a:hover {
  color: #fb923c;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
  font-size: 14px;
}

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

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

  .site-nav.is-open {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 16px;
    background: linear-gradient(90deg, var(--orange), var(--red), var(--pink));
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.18);
  }

  .site-nav.is-open a {
    padding: 12px 6px;
    border-radius: 10px;
  }

  .site-nav.is-open a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

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

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

  .sidebar-card {
    position: static;
  }

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

@media (max-width: 720px) {
  .header-inner {
    width: min(100% - 22px, 1240px);
  }

  .logo {
    font-size: 18px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  .hero {
    height: 620px;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 82px;
  }

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

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

  .section {
    padding: 50px 0;
  }

  .section-head {
    display: block;
  }

  .section-link {
    display: inline-flex;
    margin-top: 12px;
  }

  .movie-grid,
  .movie-grid.three,
  .featured-grid,
  .category-overview-grid,
  .ranking-preview {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 58px 0;
  }

  .rank-thumb {
    width: 92px;
    height: 62px;
  }

  .compact-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .compact-card img {
    width: 98px;
    height: 64px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .footer-bottom {
    display: grid;
  }
}
