:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --blue-600: #2563eb;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--sky-50), #ffffff 36%, #eff6ff 100%);
  min-height: 100vh;
}

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;
  background: rgba(240, 249, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(186, 230, 253, 0.8);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.36);
}

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

.brand-text strong,
.footer-logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--sky-600), var(--blue-600));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text small {
  margin-top: 3px;
  color: var(--slate-500);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--slate-700);
  font-weight: 650;
}

.site-nav a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--sky-600);
  transform: translateY(-1px);
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--slate-200);
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--sky-600);
  background: white;
  border-radius: 999px;
  padding: 9px 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--slate-900);
}

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.56) 44%, rgba(2, 132, 199, 0.18));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 108px;
  width: min(1180px, calc(100% - 48px));
  transform: translateX(-50%);
  color: white;
}

.hero-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: white;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 20px 0 18px;
  max-width: 760px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.7;
}

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

.hero-tags span,
.tag-pill,
.detail-meta span,
.side-info span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--sky-700);
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

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

.btn,
.hero-search button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover,
.hero-search button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.btn-primary,
.hero-search button {
  color: white;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.btn-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.full-btn {
  width: 100%;
  margin-top: 18px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 36px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 28px;
}

.hero-next {
  right: 28px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 36px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
  width: 34px;
  background: white;
}

.hero-search {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 94px;
  width: min(420px, calc(100% - 48px));
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.hero-search input,
.filter-box input,
.filter-box select {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--slate-200);
  outline: 0;
  border-radius: 999px;
  padding: 13px 16px;
  color: var(--slate-900);
  background: white;
}

.hero-search input {
  border: 0;
}

main,
.page-main {
  width: 100%;
}

.content-section,
.quick-links,
.filter-box,
.breadcrumb,
.detail-hero,
.detail-content,
.page-hero {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -36px;
  position: relative;
  z-index: 3;
}

.quick-links a {
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 22px;
  text-align: center;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-links a:hover {
  color: var(--sky-600);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.inline-links {
  margin-top: 18px;
}

.content-section {
  margin-top: 72px;
}

.first-section {
  margin-top: 76px;
}

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

.section-heading h2 {
  margin: 12px 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  max-width: 760px;
  color: var(--slate-500);
  line-height: 1.8;
}

.section-heading > a,
.text-link {
  color: var(--sky-600);
  background: white;
  box-shadow: var(--shadow-sm);
  min-width: max-content;
}

.inverse-heading h2,
.inverse-heading p,
.inverse-heading > a {
  color: white;
}

.inverse-heading .section-kicker {
  background: rgba(255, 255, 255, 0.18);
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  border-color: rgba(14, 165, 233, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--slate-100);
}

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

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

.poster-badge,
.poster-play {
  position: absolute;
  border-radius: 999px;
  color: white;
  font-weight: 800;
}

.poster-badge {
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(10px);
  font-size: 12px;
}

.poster-play {
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.4);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.movie-card h3,
.ranking-card h2 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.ranking-card h2 a:hover {
  color: var(--sky-600);
}

.movie-card p,
.ranking-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--slate-500);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 154px 1fr;
  min-height: 190px;
}

.wide-cover {
  display: block;
  overflow: hidden;
  min-height: 190px;
}

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

.rank-panel {
  color: white;
  border-radius: 34px;
  padding: 34px;
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.42), transparent 34%), linear-gradient(135deg, #0f172a, #111827 52%, #020617);
  box-shadow: var(--shadow-lg);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.15);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--slate-900);
  background: white;
  font-weight: 900;
}

.rank-title {
  font-weight: 800;
}

.rank-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

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

.category-tile {
  min-height: 150px;
  padding: 24px;
  color: white;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(37, 99, 235, 0.28);
}

.category-tile span {
  display: block;
  font-size: 21px;
  font-weight: 900;
}

.category-tile p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.category-tile.large {
  min-height: 180px;
}

.category-overview {
  margin-top: 36px;
}

.tag-cloud-section {
  padding-bottom: 40px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-cloud a {
  padding: 10px 16px;
  color: var(--sky-700);
  background: white;
  border: 1px solid var(--sky-100);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  transition: transform 0.2s ease, color 0.2s ease;
}

.tag-cloud a:hover {
  color: var(--blue-600);
  transform: translateY(-2px);
}

.page-main {
  padding-bottom: 70px;
}

.page-hero {
  margin-top: 42px;
  padding: 48px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(186, 230, 253, 0.8);
  box-shadow: var(--shadow-sm);
}

.dark-hero {
  color: white;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-color: rgba(255, 255, 255, 0.12);
}

.page-hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.05em;
}

.page-hero p {
  margin: 0;
  max-width: 820px;
  color: var(--slate-500);
  line-height: 1.85;
  font-size: 18px;
}

.dark-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.filter-box {
  display: grid;
  grid-template-columns: 1fr 210px 180px;
  gap: 12px;
  margin-top: 28px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.empty-state {
  text-align: center;
  padding: 42px;
  color: var(--slate-500);
  background: white;
  border-radius: 24px;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  overflow: hidden;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.ranking-cover {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.ranking-cover span {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.28);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--slate-500);
  font-size: 14px;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  margin-top: 24px;
}

.detail-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), rgba(2, 6, 23, 0.36));
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 22px 60px rgba(14, 165, 233, 0.42);
  font-size: 34px;
  padding-left: 5px;
}

.detail-player.is-playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.player-error {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: white;
  background: rgba(15, 23, 42, 0.82);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.detail-side {
  padding: 16px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

.detail-side img {
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  background: var(--slate-100);
}

.side-info {
  margin-top: 16px;
}

.detail-content {
  margin-top: 34px;
}

.detail-text {
  padding: 36px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

.detail-text h1 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.detail-text .lead {
  color: var(--slate-700);
  font-size: 20px;
  line-height: 1.75;
}

.detail-text h2 {
  margin: 30px 0 12px;
  font-size: 26px;
}

.detail-text p {
  color: var(--slate-700);
  line-height: 1.95;
}

.detail-tags {
  margin-top: 18px;
}

.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(240, 249, 255, 0.96));
  border-top: 1px solid rgba(186, 230, 253, 0.8);
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 26px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 34px;
}

.footer-inner p {
  max-width: 520px;
  color: var(--slate-500);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  align-content: start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--slate-600);
  font-weight: 700;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 34px;
  color: var(--slate-500);
  border-top: 1px solid var(--slate-200);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 14px;
    font-size: 14px;
  }

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

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

  .hero-search {
    left: 24px;
    right: auto;
    bottom: 34px;
  }

  .hero-dots {
    bottom: 104px;
  }

  .hero-content {
    bottom: 170px;
  }
}

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

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

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: var(--sky-50);
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
  }

  .hero {
    height: 650px;
  }

  .hero-content {
    bottom: 190px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-links,
  .movie-grid,
  .compact-grid,
  .all-grid,
  .category-grid,
  .wide-list,
  .ranking-list,
  .ranking-cards,
  .footer-inner,
  .detail-hero {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .detail-side {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: start;
  }

  .detail-side .full-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .brand-text small {
    display: none;
  }

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

  .hero {
    height: 680px;
  }

  .hero-content,
  .hero-search,
  .content-section,
  .quick-links,
  .filter-box,
  .breadcrumb,
  .detail-hero,
  .detail-content,
  .page-hero,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 28px);
  }

  .hero-content {
    bottom: 210px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-search {
    flex-direction: column;
    border-radius: 24px;
  }

  .hero-search button {
    width: 100%;
  }

  .quick-links,
  .movie-grid,
  .compact-grid,
  .all-grid,
  .category-grid,
  .wide-list,
  .ranking-list,
  .ranking-cards,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .movie-card-wide,
  .ranking-card {
    grid-template-columns: 120px 1fr;
  }

  .wide-cover,
  .ranking-cover {
    min-height: 170px;
  }

  .page-hero,
  .detail-text,
  .rank-panel {
    padding: 24px;
    border-radius: 26px;
  }

  .detail-side {
    grid-template-columns: 116px 1fr;
  }

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