:root {
  --page-bg: #080917;
  --panel-bg: rgba(255, 255, 255, 0.1);
  --panel-border: rgba(255, 255, 255, 0.18);
  --text-main: #ffffff;
  --text-soft: #d1d5db;
  --text-muted: #9ca3af;
  --blueberry-300: #c4b8ff;
  --blueberry-400: #9d8df9;
  --blueberry-500: #7d60f5;
  --blueberry-600: #6d3eed;
  --night-400: #7d9aff;
  --shadow-strong: 0 25px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text-main);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 15% 12%, rgba(109, 62, 237, 0.36), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(125, 154, 255, 0.26), transparent 28%),
    linear-gradient(145deg, #070817 0%, #0e1024 45%, #080917 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(157, 141, 249, 0.5) 1px, transparent 1.5px);
  background-size: 90px 90px, 140px 140px;
  background-position: 0 0, 30px 50px;
  opacity: 0.18;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  padding-top: 96px;
}

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

.glass-effect {
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(157, 141, 249, 0.52);
  box-shadow: var(--shadow-strong);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-top: 0;
  border-right: 0;
  border-left: 0;
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark,
.footer-logo span {
  color: var(--blueberry-400);
  text-shadow: 0 0 18px rgba(157, 141, 249, 0.85);
  animation: twinkle 3s ease-in-out infinite;
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(90deg, var(--blueberry-400), var(--night-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-nav-link {
  color: var(--text-soft);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--blueberry-400);
  text-shadow: 0 0 10px rgba(93, 119, 255, 0.8);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 240px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.header-search span {
  color: var(--blueberry-300);
  font-size: 13px;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text-main);
  background: transparent;
}

.header-search input::placeholder {
  color: rgba(209, 213, 219, 0.7);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.26);
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mobile-nav-link {
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

.hero-section {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto 72px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
}

.hero-stars {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1.5px);
  background-size: 80px 80px;
  opacity: 0.16;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  padding: 72px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.015);
}

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

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) blur(1px);
  opacity: 0.34;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 9, 23, 0.96) 0%, rgba(8, 9, 23, 0.7) 48%, rgba(8, 9, 23, 0.36) 100%),
    linear-gradient(0deg, rgba(8, 9, 23, 0.95) 0%, transparent 48%);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 740px;
}

.hero-kicker,
.page-kicker,
.detail-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blueberry-300);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-copy h1,
.page-hero h1,
.detail-main h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, var(--blueberry-400), var(--night-400), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p,
.page-hero p,
.section-lead,
.detail-main p {
  color: var(--text-soft);
  font-size: 18px;
}

.hero-tags,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-tags span,
.detail-meta span,
.detail-meta a,
.movie-meta span,
.tag,
.movie-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(157, 141, 249, 0.42);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(109, 62, 237, 0.24);
}

.hero-tags span,
.detail-meta span,
.detail-meta a {
  padding: 7px 12px;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  border: 1px solid rgba(157, 141, 249, 0.65);
  background: linear-gradient(135deg, var(--blueberry-600), var(--night-400));
  box-shadow: 0 12px 30px rgba(109, 62, 237, 0.35);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

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

.hero-poster {
  position: relative;
  z-index: 5;
  display: block;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  inset: auto 24px 24px auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(125, 96, 245, 0.92);
  box-shadow: 0 0 30px rgba(157, 141, 249, 0.55);
}

.hero-controls {
  position: absolute;
  z-index: 8;
  left: 72px;
  bottom: 42px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.hero-dot.is-active {
  background: var(--blueberry-400);
  box-shadow: 0 0 14px rgba(157, 141, 249, 0.8);
}

.section-block {
  margin-bottom: 72px;
}

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

.section-title span {
  color: var(--blueberry-400);
  text-shadow: 0 0 16px rgba(157, 141, 249, 0.8);
}

.section-title h2,
.panel-heading h2,
.side-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.section-title a,
.panel-heading a {
  color: var(--blueberry-300);
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(157, 141, 249, 0.55);
  box-shadow: var(--shadow-strong);
}

.movie-link {
  display: block;
  min-height: 100%;
}

.movie-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.movie-card-large .movie-cover {
  aspect-ratio: 21 / 9;
}

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

.movie-card:hover .movie-cover img,
.compact-card:hover img,
.rank-link:hover img {
  transform: scale(1.08);
}

.movie-cover::after,
.compact-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), transparent 64%);
}

.movie-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  color: #ffffff;
  font-size: 13px;
}

.play-bubble,
.compact-play {
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(125, 96, 245, 0.9);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-content {
  padding: 18px;
}

.movie-content h3 {
  display: -webkit-box;
  min-height: 56px;
  margin: 0 0 10px;
  overflow: hidden;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-content p {
  display: -webkit-box;
  min-height: 50px;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--text-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta span {
  padding: 3px 8px;
  color: var(--text-muted);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.ranking-panel,
.side-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

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

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

.compact-card:hover {
  background: rgba(157, 141, 249, 0.16);
}

.compact-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
}

.compact-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.compact-play {
  width: 36px;
  height: 36px;
}

.compact-info {
  min-width: 0;
}

.compact-info strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-info span {
  display: block;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 24px;
  border-radius: 24px;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(157, 141, 249, 0.16);
}

.category-glow {
  color: var(--blueberry-400);
}

.category-tile h2 {
  position: relative;
  z-index: 1;
  margin: 10px 0;
  font-size: 22px;
}

.category-tile p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  margin-bottom: 56px;
  padding: 44px;
  border-radius: 28px;
}

.category-page-hero,
.ranking-hero {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 62px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--blueberry-300);
}

.filter-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 18px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-row > span {
  color: var(--blueberry-300);
  font-weight: 700;
}

.filter-chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 13px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: rgba(157, 141, 249, 0.55);
  background: rgba(109, 62, 237, 0.45);
  color: #ffffff;
}

.empty-state {
  display: none;
  margin-top: 26px;
  padding: 28px;
  border-radius: 18px;
  color: var(--text-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

.empty-state.is-visible {
  display: block;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.rank-number {
  color: var(--blueberry-300);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.rank-link {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.rank-link img {
  width: 150px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rank-text strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 18px;
}

.rank-text em {
  color: var(--text-muted);
  font-style: normal;
}

.movie-player-section {
  margin-bottom: 28px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow-strong);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.24)),
    radial-gradient(circle at center, rgba(109, 62, 237, 0.3), transparent 34%);
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-ring {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(125, 96, 245, 0.86);
  box-shadow: 0 0 36px rgba(157, 141, 249, 0.7);
}

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

.detail-main {
  padding: 32px;
  border-radius: 24px;
}

.detail-main h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.detail-main h2 {
  margin: 30px 0 10px;
  font-size: 24px;
}

.detail-main p {
  margin: 0 0 14px;
}

.one-line {
  padding: 18px;
  border-left: 3px solid var(--blueberry-400);
  border-radius: 14px;
  background: rgba(157, 141, 249, 0.12);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 7px 12px;
}

.detail-side {
  display: grid;
  gap: 20px;
}

.side-card {
  overflow: hidden;
}

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

.movie-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.movie-facts div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
}

.movie-facts dt {
  color: var(--blueberry-300);
}

.movie-facts dd {
  margin: 0;
  color: var(--text-soft);
}

.prose-block {
  display: grid;
  gap: 16px;
}

.prose-block p {
  margin: 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}

.footer-brand p,
.site-footer li,
.site-footer a {
  color: var(--text-muted);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

.site-footer a:hover {
  color: var(--blueberry-300);
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  text-align: center;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.65;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

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

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

  .header-search {
    min-width: 190px;
  }

  .hero-slide,
  .category-page-hero,
  .ranking-hero,
  .split-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    padding: 44px;
  }

  .hero-poster {
    display: none;
  }

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

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

@media (max-width: 720px) {
  main {
    padding-top: 88px;
  }

  .header-inner {
    height: 64px;
  }

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

  .header-search {
    display: none;
  }

  .mobile-nav.is-open {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    min-height: 560px;
    margin-bottom: 44px;
    border-radius: 24px;
  }

  .hero-slide {
    display: block;
    padding: 34px 24px 82px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-main p {
    font-size: 16px;
  }

  .hero-controls {
    left: 24px;
    bottom: 28px;
  }

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

  .page-hero,
  .detail-main,
  .side-card {
    padding: 24px;
    border-radius: 20px;
  }

  .rank-item,
  .rank-link,
  .compact-card {
    grid-template-columns: 1fr;
  }

  .rank-link img {
    width: 100%;
  }

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

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