: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;
  --header-height: 76px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  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;
}

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

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.38), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 196, 221, 0.26), transparent 30%),
    radial-gradient(circle at 70% 82%, rgba(184, 230, 213, 0.22), transparent 30%);
  z-index: -1;
}

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

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

button,
input {
  font: inherit;
}

.jelly-card {
  overflow: hidden;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.28);
  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.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.jelly-glass {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.30);
  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;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.72rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #4a356f;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: 0 4px 16px rgba(31, 38, 135, 0.15);
  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-button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 auto;
  border-radius: 0 0 1.5rem 1.5rem;
}

.nav-inner {
  max-width: var(--max-width);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.32);
}

.brand-text {
  color: transparent;
  background: linear-gradient(135deg, #6545d8, #dd4ea7);
  background-clip: text;
  -webkit-background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown > button {
  border: 0;
  color: #4b5563;
  background: transparent;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.nav-dropdown:hover > button {
  color: #7c3aed;
  background: rgba(255, 255, 255, 0.48);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 360px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.9rem;
  border-radius: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  padding: 0.6rem 0.7rem;
  border-radius: 0.9rem;
  color: #4b5563;
}

.nav-dropdown-panel a:hover {
  color: #7c3aed;
  background: rgba(255, 255, 255, 0.56);
}

.nav-search {
  width: 260px;
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.nav-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #374151;
  background: transparent;
  padding: 0.7rem 0.15rem 0.7rem 1rem;
}

.nav-search button {
  width: 42px;
  border: 0;
  color: #7c3aed;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #6b21a8;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  max-width: calc(100% - 1.5rem);
  margin: 0 auto 0.75rem;
  padding: 1rem;
  border-radius: 1.25rem;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.mobile-panel input {
  min-width: 0;
  flex: 1;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, 0.82);
}

.mobile-panel button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  padding: 0 1rem;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.mobile-panel a {
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.42);
}

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 0;
}

.inner-page {
  padding-top: 2rem;
}

.home-hero {
  margin: 1rem 0 3.2rem;
}

.hero-frame {
  position: relative;
  min-height: 560px;
  border-radius: 2rem;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 6s ease;
}

.hero-slide.is-active .hero-bg {
  transform: scale(1.10);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 18, 57, 0.84), rgba(32, 18, 57, 0.36), rgba(32, 18, 57, 0.1)),
    linear-gradient(0deg, rgba(12, 8, 24, 0.78), transparent 55%);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 2rem));
  margin: 0 0 2rem 2rem;
  padding: 2rem;
  border-radius: 1.6rem;
  color: #ffffff;
  background: rgba(20, 16, 38, 0.48);
}

.hero-eyebrow,
.page-kicker {
  display: inline-flex;
  align-items: center;
  color: #7c3aed;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #f7d9ff;
}

.hero-content h1 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  line-height: 1.02;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  max-width: 58rem;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-tags,
.tag-row,
.hero-stats,
.detail-meta,
.ranking-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.hero-tags span,
.tag-row span,
.hero-stats span,
.detail-meta span,
.movie-meta span,
.ranking-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.82rem;
  color: #5b4b6d;
  background: rgba(255, 255, 255, 0.64);
}

.hero-tags span,
.hero-stats span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-dots {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 4;
}

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

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

.section-block {
  margin-bottom: 3rem;
}

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

.section-heading span {
  display: inline-block;
  margin-bottom: 0.3rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(51, 34, 91, 0.22);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.45rem);
}

.section-heading > a {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  color: #6b21a8;
  background: rgba(255, 255, 255, 0.72);
}

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

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

.movie-card {
  min-width: 0;
}

.movie-card a {
  display: block;
  height: 100%;
}

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

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

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

.poster-badge,
.poster-score {
  position: absolute;
  top: 0.65rem;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.poster-badge {
  left: 0.65rem;
}

.poster-score {
  right: 0.65rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.88), rgba(236, 72, 153, 0.88));
}

.play-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
  font-size: 2rem;
  opacity: 0;
  background: rgba(255, 255, 255, 0.18);
  transition: opacity 0.3s ease;
}

.movie-card:hover .play-hover {
  opacity: 1;
}

.play-hover::before {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  z-index: -1;
}

.movie-body {
  padding: 1rem;
}

.movie-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.4;
  color: #27233d;
}

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

.movie-meta {
  margin-bottom: 0.75rem;
}

.tag-row span {
  color: #6b21a8;
  background: rgba(212, 197, 249, 0.42);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  gap: 1rem;
  align-items: start;
}

.compact-heading {
  margin-bottom: 1rem;
}

.ranking-list {
  display: grid;
  gap: 0.8rem;
}

.ranking-item a {
  display: grid;
  grid-template-columns: 54px 72px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem;
}

.ranking-item img {
  width: 72px;
  height: 96px;
  border-radius: 1rem;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(212, 197, 249, 0.72), rgba(255, 196, 221, 0.76));
}

.rank-number {
  color: transparent;
  font-size: 1.8rem;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
}

.ranking-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.ranking-item p {
  margin: 0 0 0.5rem;
  color: var(--jelly-text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.spotlight {
  min-height: 100%;
  padding: 2rem;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.82), rgba(236, 72, 153, 0.74)),
    rgba(255, 255, 255, 0.58);
}

.spotlight-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  color: #4c1d95;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.spotlight h2 {
  margin: 1.2rem 0 1rem;
  font-size: 2rem;
}

.spotlight p {
  margin: 0 0 1.5rem;
  line-height: 1.8;
}

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

.category-card,
.category-overview-card a {
  display: block;
  height: 100%;
  padding: 1.35rem;
}

.category-icon {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.category-card h3,
.category-overview-card h2 {
  margin: 0 0 0.55rem;
}

.category-card p,
.category-overview-card p {
  margin: 0 0 1rem;
  color: var(--jelly-text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

.category-card strong,
.category-count {
  color: #7c3aed;
}

.category-overview-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.category-samples span {
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  color: #6b21a8;
  background: rgba(212, 197, 249, 0.42);
  font-size: 0.82rem;
}

.page-title {
  margin-bottom: 1.2rem;
  padding: 2rem;
}

.page-title h1 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.page-title p {
  max-width: 760px;
  margin: 0;
  color: var(--jelly-text-secondary);
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1rem;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(51, 34, 91, 0.24);
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 1rem;
}

.filter-search input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  color: #374151;
  background: rgba(255, 255, 255, 0.78);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.filter-buttons button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: #5b4b6d;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.25rem;
  margin-bottom: 1.2rem;
}

.detail-poster {
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(212, 197, 249, 0.72), rgba(255, 196, 221, 0.76));
}

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

.detail-info h1 {
  margin: 0.55rem 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 1rem;
  color: #4b5563;
  font-size: 1.08rem;
  line-height: 1.8;
}

.detail-meta {
  margin-bottom: 1rem;
}

.detail-tags {
  margin-bottom: 1.3rem;
}

.player-section {
  margin-bottom: 1.2rem;
  background: rgba(20, 16, 38, 0.84);
}

.video-shell {
  position: relative;
  background: #09090f;
}

.video-shell video {
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #09090f;
}

.video-play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  color: #7c3aed;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.video-play-button span {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 2.1rem;
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-play-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.player-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: rgba(255, 255, 255, 0.86);
}

.two-column-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.prose-card,
.detail-side {
  padding: 1.5rem;
}

.prose-card h2,
.detail-side h2 {
  margin: 0 0 0.9rem;
  color: #31234f;
}

.prose-card p {
  margin: 0 0 1.4rem;
  color: #4b5563;
  line-height: 1.9;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.65rem 1rem;
  margin: 0;
}

.detail-side dt {
  color: #7c3aed;
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  color: #4b5563;
}

.related-block {
  margin-bottom: 1rem;
}

.search-page {
  padding: 1rem;
}

.search-large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.search-large input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.82);
}

.search-summary {
  margin-bottom: 1rem;
  color: var(--jelly-text-secondary);
  font-weight: 700;
}

.site-footer {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  border-radius: 1.5rem 1.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 1.25rem;
}

.footer-brand {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(135deg, #6545d8, #dd4ea7);
  background-clip: text;
  -webkit-background-clip: text;
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
  color: var(--jelly-text-secondary);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer-links a {
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  color: #6b21a8;
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.88rem;
}

.no-results {
  padding: 2rem;
  text-align: center;
  color: var(--jelly-text-secondary);
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .site-main {
    padding-inline: 0.85rem;
  }

  .hero-frame {
    min-height: 560px;
  }

  .hero-content {
    width: calc(100% - 1.6rem);
    margin: 0.8rem;
    padding: 1.25rem;
  }

  .hero-dots {
    right: 1rem;
    bottom: 1rem;
  }

  .two-column,
  .two-column-detail,
  .detail-hero,
  .filter-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 280px;
  }

  .full-ranking {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    justify-content: flex-start;
  }

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

  .player-caption {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 1rem;
  }

  .hero-frame {
    min-height: 620px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

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

  .movie-body {
    padding: 0.75rem;
  }

  .movie-body h3 {
    font-size: 0.95rem;
  }

  .movie-body p {
    font-size: 0.84rem;
  }

  .ranking-item a {
    grid-template-columns: 42px 58px minmax(0, 1fr);
  }

  .ranking-item img {
    width: 58px;
    height: 78px;
    border-radius: 0.8rem;
  }

  .rank-number {
    font-size: 1.35rem;
  }

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

  .mobile-panel nav {
    grid-template-columns: 1fr;
  }
}
