:root {
  --jelly-bg-primary: #f8f9fe;
  --jelly-bg-secondary: #ffffff;
  --jelly-text-primary: #2d3748;
  --jelly-text-secondary: #718096;
  --jelly-accent-mint: #b8e6d5;
  --jelly-accent-lavender: #d4c5f9;
  --jelly-accent-pink: #ffc4dd;
  --jelly-accent-blue: #c4ddff;
  --jelly-accent-peach: #ffd4c4;
  --jelly-moon: #e8eaf6;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  color: var(--jelly-text-primary);
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #4facfe, #00f2fe);
  background-size: 400% 400%;
  animation: gradientShift 30s ease infinite;
}

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

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

button,
input,
select {
  font: inherit;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

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

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

.jelly-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15), 0 2px 8px rgba(31, 38, 135, 0.10);
  backdrop-filter: blur(24px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jelly-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(31, 38, 135, 0.24), 0 4px 12px rgba(31, 38, 135, 0.15);
}

.jelly-glass {
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(40px);
}

.jelly-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  color: var(--jelly-text-primary);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
  box-shadow: 0 4px 16px rgba(31, 38, 135, 0.15);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.jelly-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.86));
  box-shadow: 0 8px 24px rgba(31, 38, 135, 0.25);
}

.jelly-gradient-text {
  color: transparent;
  background-image: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  background-clip: text;
  -webkit-background-clip: text;
}

.moon-glow {
  position: relative;
}

.moon-glow::before {
  position: absolute;
  inset: -45%;
  content: "";
  background: radial-gradient(circle, rgba(232, 234, 246, 0.44) 0%, transparent 70%);
  pointer-events: none;
  animation: moonPulse 4s ease-in-out infinite;
}

.video-card-hover {
  position: relative;
}

.video-card-hover::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.38), transparent 62%);
  transition: opacity 0.3s ease;
}

.video-card-hover:hover::after {
  opacity: 1;
}

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

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  height: 76px;
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.site-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 1.55rem;
  background: linear-gradient(135deg, #a78bfa, #f9a8d4);
}

.site-logo-text,
.footer-logo {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #4a5568;
  font-weight: 700;
}

.site-nav a,
.nav-dropdown-button {
  padding: 0.45rem 0.25rem;
  border: 0;
  color: inherit;
  background: transparent;
}

.site-nav a:hover,
.nav-dropdown-button:hover {
  color: #7c3aed;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 280px;
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 20px 45px rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(30px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  font-size: 0.92rem;
}

.nav-dropdown-menu a:hover {
  background: rgba(124, 58, 237, 0.10);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 1 380px;
}

.header-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0 1rem;
  color: #2d3748;
  outline: none;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.header-search button {
  min-height: 2.65rem;
  border: 0;
  border-radius: 999px;
  padding: 0 1rem;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 0.85rem 1.25rem 1.25rem;
}

.mobile-menu.is-open {
  display: grid;
  gap: 0.55rem;
}

.mobile-menu a {
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.45);
}

.mobile-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.page-shell {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 112px 0 4rem;
}

.hero {
  min-height: 520px;
}

.hero-slider {
  position: relative;
  height: min(62vw, 560px);
  min-height: 480px;
  overflow: hidden;
  border-radius: 1.5rem;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 32, 44, 0.92), rgba(45, 55, 72, 0.48), rgba(45, 55, 72, 0.08));
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 6vw, 5rem);
  bottom: clamp(2rem, 6vw, 5.5rem);
  width: min(720px, calc(100% - 2.5rem));
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(14px);
}

.hero-content h1,
.page-hero h1,
.movie-detail-info h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content p,
.page-hero p,
.movie-detail-info p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-meta,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.hero-meta span,
.detail-meta span,
.movie-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  color: #4a5568;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.68);
}

.hero-meta span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 2.2rem;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow-left {
  left: 1.25rem;
}

.hero-arrow-right {
  right: 1.25rem;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: 2rem;
  bottom: 1.75rem;
  display: flex;
  gap: 0.55rem;
}

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

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

.content-section {
  margin-top: 4rem;
}

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

.section-heading h2,
.detail-article h2,
.detail-sidebar h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.section-heading p {
  margin: 0.55rem 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.section-link {
  flex: 0 0 auto;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
}

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

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

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

.movie-card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.movie-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 197, 249, 0.6), rgba(255, 196, 221, 0.6));
}

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

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

.movie-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(124, 58, 237, 0.82);
  backdrop-filter: blur(12px);
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.movie-card-body h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.35;
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 3.25rem;
  margin: 0.65rem 0 0;
  overflow: hidden;
  color: var(--jelly-text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.movie-tags span,
.detail-tags span {
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  color: #6b21a8;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(212, 197, 249, 0.45);
}

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

.category-card {
  padding: 1.35rem;
}

.category-card a:first-child {
  display: block;
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 1.25rem;
  font-size: 1.85rem;
  background: rgba(255, 255, 255, 0.72);
}

.category-card h3,
.overview-category h2,
.ranking-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.category-card p,
.overview-category p,
.ranking-card p {
  margin: 0.65rem 0 0;
  color: var(--jelly-text-secondary);
  line-height: 1.7;
}

.category-samples {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}

.category-samples a {
  color: #6b21a8;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: auto 58px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.54);
}

.ranking-number,
.ranking-card-number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.ranking-item img {
  width: 58px;
  height: 76px;
  border-radius: 0.8rem;
  object-fit: cover;
}

.ranking-item strong,
.ranking-item em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-item em {
  margin-top: 0.25rem;
  color: var(--jelly-text-secondary);
  font-size: 0.85rem;
  font-style: normal;
}

.page-hero {
  padding: clamp(2rem, 5vw, 4rem);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.82), rgba(236, 72, 153, 0.72)), rgba(255, 255, 255, 0.72);
}

.small-hero {
  min-height: 260px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.overview-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.overview-category {
  padding: 1.25rem;
}

.overview-category-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.overview-category-head > span {
  font-size: 2rem;
}

.compact-movie-row,
.compact-movie-column {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

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

.compact-movie {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: 1rem;
}

.compact-movie img {
  width: 58px;
  height: 76px;
  border-radius: 0.8rem;
  object-fit: cover;
  background: rgba(212, 197, 249, 0.5);
}

.compact-movie span {
  overflow: hidden;
  font-weight: 800;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

.filter-bar select {
  appearance: none;
  cursor: pointer;
}

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

.ranking-page-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.ranking-card a {
  display: grid;
  grid-template-columns: auto 96px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.ranking-card img {
  width: 96px;
  height: 128px;
  border-radius: 1rem;
  object-fit: cover;
  background: rgba(212, 197, 249, 0.5);
}

.ranking-card span:not(.ranking-card-number),
.ranking-card em {
  display: block;
  margin-top: 0.45rem;
  color: var(--jelly-text-secondary);
  font-style: normal;
}

.movie-hero-detail {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1rem, 4vw, 2.5rem);
}

.movie-cover-large {
  overflow: hidden;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(212, 197, 249, 0.6), rgba(255, 196, 221, 0.6));
}

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

.movie-detail-info {
  align-self: center;
}

.movie-detail-info p {
  color: var(--jelly-text-secondary);
}

.player-section {
  margin-top: 1.5rem;
  padding: 1rem;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #111827;
}

.movie-player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.movie-play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.52));
  cursor: pointer;
}

.movie-play-button span {
  display: grid;
  place-items: center;
  width: clamp(72px, 12vw, 112px);
  height: clamp(72px, 12vw, 112px);
  border-radius: 999px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 18px 50px rgba(31, 38, 135, 0.35);
}

.movie-play-button.is-hidden {
  display: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.detail-article,
.detail-sidebar {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.detail-article h2,
.detail-sidebar h2 {
  color: var(--jelly-text-primary);
  text-shadow: none;
}

.detail-article h2 + p {
  margin-top: 0.9rem;
}

.detail-article p {
  margin: 1.5rem 0 0;
  color: #4a5568;
  font-size: 1.02rem;
  line-height: 2;
}

.site-footer {
  margin-top: 4rem;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 1.5rem;
}

.site-footer p {
  max-width: 640px;
  margin: 0.8rem 0 0;
  color: #4a5568;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-content: start;
}

.footer-links a {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-weight: 700;
}

.footer-bottom {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.30);
  color: #4a5568;
  font-size: 0.95rem;
}

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

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

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

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

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

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

  .site-logo-mark {
    width: 42px;
    height: 42px;
  }

  .site-logo-text {
    font-size: 1.22rem;
  }

  .page-shell {
    width: min(100% - 1rem, 1280px);
    padding-top: 86px;
  }

  .hero-slider {
    height: 560px;
    min-height: 520px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(26, 32, 44, 0.92), rgba(45, 55, 72, 0.28));
  }

  .hero-content {
    left: 1rem;
    bottom: 5rem;
  }

  .hero-arrow {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .hero-dots {
    right: 50%;
    bottom: 2.05rem;
    transform: translateX(50%);
  }

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

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

  .movie-card-body {
    padding: 0.85rem;
  }

  .movie-meta span:nth-child(3) {
    display: none;
  }

  .ranking-list,
  .compact-movie-row,
  .site-footer-inner,
  .overview-category-head,
  .filter-bar,
  .movie-hero-detail,
  .ranking-card a {
    grid-template-columns: 1fr;
  }

  .overview-category-head .jelly-button {
    width: 100%;
  }

  .ranking-card-number {
    position: absolute;
    margin: 0.6rem;
  }

  .ranking-card a {
    position: relative;
  }

  .ranking-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 480px) {
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .related-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-content h1,
  .page-hero h1,
  .movie-detail-info h1 {
    font-size: 2.1rem;
  }
}
