:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-500: #f97316;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --card-bg: rgba(255, 255, 255, 0.88);
  --shadow-card: 0 16px 40px rgba(146, 64, 14, 0.12);
  --shadow-hover: 0 24px 55px rgba(146, 64, 14, 0.18);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 15% 5%, rgba(251, 191, 36, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(249, 115, 22, 0.15), transparent 26rem),
    linear-gradient(135deg, #fffbeb 0%, #fefce8 52%, #fff7ed 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.honey-gradient {
  background-image: linear-gradient(135deg, #fbbf24 0%, #eab308 48%, #fb923c 100%);
}

.honey-text {
  background-image: linear-gradient(90deg, #d97706 0%, #ca8a04 48%, #ea580c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.honey-card {
  border: 1px solid rgba(253, 230, 138, 0.64);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

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

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.72);
  box-shadow: var(--shadow-hover);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(253, 230, 138, 0.82);
  box-shadow: 0 12px 35px rgba(146, 64, 14, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand {
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #fb923c);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.34);
}

.brand-text {
  font-size: 1.55rem;
  background-image: linear-gradient(90deg, #d97706, #ca8a04, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: #374151;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber-700);
  background: rgba(254, 243, 199, 0.9);
}

.nav-link-soft {
  color: #7c2d12;
  background: rgba(255, 251, 235, 0.72);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(300px, 30vw);
  padding: 6px 8px 6px 14px;
  border: 2px solid rgba(253, 230, 138, 0.92);
  border-radius: 999px;
  background: #fff;
}

.header-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.header-search button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: var(--amber-100);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  background: var(--amber-100);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--amber-800);
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(253, 230, 138, 0.9);
}

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

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 16px 0;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(254, 243, 199, 0.88);
  font-weight: 700;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111827;
}

.hero-stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 900ms ease;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.1)),
    var(--hero-image),
    radial-gradient(circle at 15% 20%, #92400e, #111827 65%);
  background-size: cover;
  background-position: center;
}

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

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(0deg, #fffbeb, rgba(255, 251, 235, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.hero-copy {
  max-width: 700px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--amber-300);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-title-block h1 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.hero-description {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.hero-tags,
.meta-row,
.tag-row,
.category-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span,
.tag-row a,
.category-chip,
.region-pill {
  border-radius: 999px;
  font-weight: 800;
}

.hero-tags span {
  padding: 8px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

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

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #fbbf24, #eab308, #fb923c);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.26);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn-ghost-dark {
  color: var(--amber-800);
  background: var(--amber-100);
}

.btn-block {
  width: 100%;
}

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

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

.hero-dot.is-active {
  width: 38px;
  background: var(--amber-300);
}

.category-lift {
  position: relative;
  z-index: 4;
  margin-top: -70px;
  margin-bottom: 74px;
}

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

.category-lift-card {
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

.category-lift-card span,
.category-card-head span,
.section-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #fb923c);
  font-size: 1.45rem;
  font-weight: 900;
}

.category-lift-card strong {
  margin-top: 12px;
  color: #111827;
  font-size: 1.08rem;
}

.category-lift-card small {
  margin-top: 6px;
  color: var(--text-muted);
}

.content-section {
  margin-bottom: 82px;
}

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

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  background-image: linear-gradient(90deg, #d97706, #ca8a04, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-more {
  color: var(--amber-700);
  font-weight: 900;
}

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

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

.movie-card {
  overflow: hidden;
}

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

.poster-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.35), rgba(249, 115, 22, 0.25)),
    #78350f;
}

.poster-frame::after {
  content: attr(data-fallback);
  position: absolute;
  inset: auto 16px 16px 16px;
  display: none;
  color: #fff;
  font-weight: 900;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.poster-frame.poster-missing::after {
  display: block;
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, opacity 200ms ease;
}

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

.poster-frame.poster-missing img {
  opacity: 0;
}

.play-float {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #fb923c);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.region-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
}

.region-pill {
  right: 12px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(245, 158, 11, 0.92);
  font-size: 0.78rem;
}

.rank-badge {
  left: 12px;
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  color: #fff;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.76);
  font-weight: 900;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0 0 10px;
  overflow: hidden;
  color: #1f2937;
  font-size: 1.08rem;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 180ms ease;
}

.movie-card:hover .card-body h3 {
  color: var(--amber-700);
}

.card-summary {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--text-muted);
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.meta-row {
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.meta-row span {
  max-width: 100%;
  padding: 5px 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(254, 243, 199, 0.82);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-list,
.compact-list {
  display: grid;
  gap: 16px;
}

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

.movie-card-horizontal .card-link,
.movie-card-compact .card-link {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
}

.movie-card-horizontal .poster-frame,
.movie-card-compact .poster-frame {
  border-radius: 14px;
}

.movie-card-horizontal .card-body,
.movie-card-compact .card-body {
  padding: 0;
}

.movie-card-compact .card-link {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
}

.movie-card-compact .card-body h3 {
  min-height: auto;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.movie-card-compact .card-summary {
  display: none;
}

.ranking-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.ranking-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ranking-head h2 {
  margin: 0;
}

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

.category-overview-card,
.category-detail-card {
  padding: 22px;
}

.category-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.category-card-head h3,
.category-detail-body h2,
.aside-card h2 {
  margin: 0;
}

.category-card-head p,
.category-overview-card p,
.category-detail-body p {
  margin: 6px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.mini-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mini-link-list a {
  max-width: 100%;
  padding: 7px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(254, 243, 199, 0.86);
  color: #7c2d12;
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero {
  padding: 70px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(120, 53, 15, 0.96), rgba(146, 64, 14, 0.88)),
    radial-gradient(circle at 85% 10%, rgba(251, 191, 36, 0.5), transparent 30rem);
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.detail-layout .breadcrumb,
.category-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.82);
}

.detail-layout > .breadcrumb {
  margin: 28px 0;
  color: var(--text-muted);
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  overflow: hidden;
  background: #111827;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(251, 191, 36, 0.18), transparent 28rem),
    #030712;
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  cursor: pointer;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.28));
  text-align: center;
}

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

.big-play {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #fb923c);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  font-size: 2.25rem;
}

.player-overlay strong {
  font-size: 1.35rem;
}

.player-overlay small,
.player-status {
  color: rgba(255, 255, 255, 0.76);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  font-size: 0.86rem;
}

.detail-content,
.aside-card {
  padding: 26px;
}

.detail-title-block h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.detail-title-block p:not(.eyebrow) {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.movie-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.movie-facts div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(254, 243, 199, 0.72);
}

.movie-facts dt {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.movie-facts dd {
  margin: 0;
  color: #111827;
  font-weight: 900;
}

.tag-row {
  margin-bottom: 28px;
}

.tag-row span,
.tag-row a {
  padding: 8px 12px;
  background: var(--amber-100);
  color: #7c2d12;
}

.tag-row a {
  color: #fff;
  background: linear-gradient(135deg, #fbbf24, #fb923c);
}

.article-block {
  border-top: 1px solid rgba(253, 230, 138, 0.86);
  padding-top: 24px;
  margin-top: 24px;
}

.article-block h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.article-block p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
}

.detail-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 22px;
}

.info-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.info-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(217, 119, 6, 0.28);
}

.info-list span {
  color: var(--text-muted);
  font-weight: 800;
}

.info-list strong,
.info-list a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.filter-box {
  padding: 20px;
  margin-bottom: 28px;
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 190px auto;
  gap: 14px;
  align-items: end;
}

.filter-row label,
.ranking-search label {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 900;
}

.filter-row input,
.filter-row select,
.ranking-search input {
  width: 100%;
  min-height: 44px;
  border: 2px solid rgba(253, 230, 138, 0.92);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  outline: 0;
}

.filter-row input:focus,
.filter-row select:focus,
.ranking-search input:focus {
  border-color: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.16);
}

.filter-count {
  margin: 14px 0 0;
  color: var(--amber-800);
  font-weight: 900;
}

.category-chip-row {
  margin-bottom: 18px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(254, 243, 199, 0.9);
  color: #7c2d12;
}

.category-chip.is-current {
  color: #fff;
  background: linear-gradient(135deg, #fbbf24, #fb923c);
}

.category-chip span {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  font-size: 0.8rem;
}

.category-detail-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
}

.category-cover {
  position: relative;
  display: block;
  min-height: 200px;
}

.category-poster {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.04)),
    var(--poster-image),
    linear-gradient(135deg, #fbbf24, #fb923c);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(120, 53, 15, 0.2);
}

.category-poster:nth-child(1) {
  transform: rotate(-7deg) translate(-6px, 12px);
}

.category-poster:nth-child(2) {
  transform: rotate(2deg) translate(18px, 0);
}

.category-poster:nth-child(3) {
  transform: rotate(9deg) translate(36px, 22px);
}

.ranking-search {
  padding: 18px;
  margin-bottom: 18px;
}

.ranking-table {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(253, 230, 138, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, background 180ms ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  background: #fff;
}

.ranking-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #fb923c);
  font-weight: 900;
}

.ranking-row small {
  color: var(--text-muted);
}

.site-footer {
  margin-top: 90px;
  color: #fff;
  background: linear-gradient(135deg, #78350f 0%, #854d0e 48%, #7c2d12 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--amber-300);
  font-size: 1.08rem;
}

.footer-grid p,
.footer-grid a,
.footer-grid li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.footer-grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.footer-note {
  font-size: 0.92rem;
}

.footer-category-list {
  columns: 2;
}

.float-animation {
  animation: float-up 780ms ease both;
}

@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden-by-filter {
  display: none !important;
}

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

  .menu-toggle {
    display: block;
  }

  .header-search {
    width: min(360px, 42vw);
  }

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

  .split-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .detail-aside {
    position: static;
  }

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

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand-text {
    display: none;
  }

  .header-search {
    display: none;
  }

  .hero,
  .hero-content {
    height: 560px;
    min-height: 560px;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .category-lift-grid,
  .movie-grid,
  .movie-grid-large,
  .category-overview-grid,
  .category-detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal .card-link,
  .movie-card-compact .card-link,
  .category-detail-card {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal .poster-frame,
  .movie-card-compact .poster-frame {
    aspect-ratio: 16 / 9;
  }

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

  .filter-row,
  .movie-facts,
  .ranking-row {
    grid-template-columns: 1fr;
  }

  .detail-content,
  .aside-card {
    padding: 20px;
  }

  .player-shell {
    min-height: 220px;
  }

  .footer-category-list {
    columns: 1;
  }
}
