:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --orange-50: #fff7ed;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --red-500: #ef4444;
  --ink: #111827;
  --muted: #6b7280;
  --line: rgba(180, 83, 9, 0.18);
  --shadow: 0 20px 55px rgba(146, 64, 14, 0.15);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--orange-50) 0%, var(--amber-50) 34%, #ffffff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(180, 83, 9, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--amber-800), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon,
.footer-brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  color: #ffffff;
  font-size: 15px;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.site-search {
  position: relative;
  flex: 1 1 320px;
  max-width: 480px;
}

.site-search input,
.catalog-tools input,
.catalog-tools select {
  width: 100%;
  border: 2px solid var(--amber-200);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search input {
  height: 42px;
  padding: 0 52px 0 18px;
}

.site-search input:focus,
.catalog-tools input:focus,
.catalog-tools select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.site-search button {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--amber-500);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  color: var(--amber-800);
  white-space: nowrap;
}

.desktop-nav a,
.mobile-menu a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover {
  color: var(--orange-600);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--amber-800);
  font-size: 30px;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--amber-800);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: clamp(560px, 74vh, 780px);
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transform: scale(1.03);
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 36%, rgba(245, 158, 11, 0.32), transparent 35%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.74) 43%, rgba(17, 24, 39, 0.34) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 56px;
  min-height: clamp(560px, 74vh, 780px);
  padding: 120px 0 94px;
}

.hero-kicker,
.section-heading span,
.feature-panel span,
.page-hero span,
.category-overview-head span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.95);
  color: #ffffff;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0 18px;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.hero-meta {
  margin: 26px 0;
}

.hero-meta span,
.detail-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-actions,
.detail-neighbor,
.category-overview-head,
.section-heading.with-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-actions {
  justify-content: flex-start;
}

.primary-button,
.ghost-button,
.catalog-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  color: #ffffff;
  box-shadow: 0 15px 32px rgba(249, 115, 22, 0.3);
}

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

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.ghost-button.dark {
  color: var(--amber-800);
  border-color: var(--line);
  background: var(--amber-50);
}

.hero-poster {
  display: block;
  align-self: center;
  border-radius: 32px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.2s ease, background 0.2s ease;
}

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

.section {
  padding: 72px 0 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.feature-panel h2,
.page-hero h1,
.category-overview-head h2,
.watch-card h2,
.text-card h2,
.side-card h2 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading p,
.feature-panel p,
.page-hero p,
.category-overview-head p,
.text-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.85;
}

.section-heading.with-link a {
  color: var(--amber-700);
  font-weight: 900;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--amber-800);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(180, 83, 9, 0.08);
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(180, 83, 9, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(146, 64, 14, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-50));
}

.poster-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .poster-image {
  transform: scale(1.07);
}

.type-badge,
.year-badge {
  position: absolute;
  top: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.type-badge {
  left: 12px;
  background: rgba(17, 24, 39, 0.72);
}

.year-badge {
  right: 12px;
  background: rgba(245, 158, 11, 0.92);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--amber-600);
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 950;
}

.card-body h3 a:hover {
  color: var(--amber-600);
}

.card-body p {
  min-height: 54px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.meta-row {
  gap: 8px;
  color: #78716c;
  font-size: 13px;
  font-weight: 800;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
}

.meta-row span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--amber-500);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  border-radius: 999px;
  background: var(--amber-50);
  color: var(--amber-800);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}

.feature-panel,
.side-card,
.text-card,
.watch-card,
.category-overview-block {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 45px rgba(146, 64, 14, 0.1);
}

.feature-panel {
  padding: 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.24), transparent 34%),
    #ffffff;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 84px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 10px 26px rgba(146, 64, 14, 0.08);
}

.rank-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--amber-500);
  color: #ffffff;
  font-weight: 950;
}

.rank-item img {
  width: 84px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rank-copy strong {
  overflow: hidden;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

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

.category-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.18), transparent 42%),
    #ffffff;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(146, 64, 14, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card span {
  color: var(--amber-600);
  font-weight: 950;
}

.category-card h2 {
  margin: 18px 0 10px;
  font-size: 25px;
  font-weight: 950;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.page-hero {
  position: relative;
  padding: 86px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.24), transparent 30%),
    linear-gradient(135deg, var(--amber-100), var(--orange-50));
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  padding: 68px 0 58px;
}

.page-hero h1 {
  margin-top: 16px;
  max-width: 780px;
}

.page-hero p {
  max-width: 820px;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.page-hero .breadcrumb {
  color: var(--amber-800);
}

.breadcrumb b {
  opacity: 0.6;
}

.breadcrumb em {
  font-style: normal;
  opacity: 0.82;
}

.category-overview {
  padding-top: 64px;
}

.category-overview-block {
  padding: 28px;
  margin-bottom: 28px;
}

.category-overview-head {
  align-items: flex-start;
  margin-bottom: 24px;
}

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

.mini-card .card-body p {
  min-height: auto;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 170px 110px;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(146, 64, 14, 0.08);
}

.catalog-tools.slim {
  grid-template-columns: minmax(220px, 1fr);
}

.catalog-tools input,
.catalog-tools select {
  height: 46px;
  padding: 0 16px;
}

.catalog-tools button {
  min-height: 46px;
  background: var(--amber-500);
  color: #ffffff;
}

.empty-state {
  display: none;
  padding: 34px;
  border: 1px dashed var(--amber-300);
  border-radius: 24px;
  color: var(--amber-800);
  text-align: center;
  font-weight: 900;
}

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

.full-rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.full-rank-list li a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  padding: 14px 16px;
  box-shadow: 0 8px 18px rgba(146, 64, 14, 0.06);
}

.full-rank-list strong {
  color: var(--amber-600);
  font-size: 14px;
}

.full-rank-list span {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.full-rank-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  white-space: nowrap;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  color: #ffffff;
  background: #111827;
}

.detail-bg,
.detail-shade {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(1.05);
  transform: scale(1.08);
}

.detail-shade {
  background:
    radial-gradient(circle at 72% 28%, rgba(245, 158, 11, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.72)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 55%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  min-height: 590px;
  padding: 72px 0;
}

.detail-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 32px;
  border: 8px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

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

.detail-cover span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--amber-600);
  transform: translate(-50%, -50%);
}

.detail-copy h1 {
  margin: 18px 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.detail-copy .lead {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.85;
}

.detail-meta {
  margin: 24px 0 4px;
}

.detail-tags span {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

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

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

.watch-card,
.text-card,
.side-card {
  padding: 26px;
}

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #050505;
  box-shadow: 0 22px 55px rgba(17, 24, 39, 0.22);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #050505;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover img,
.player-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-cover img {
  object-fit: cover;
}

.player-mask {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
}

.player-button {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--amber-600);
  font-size: 34px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.text-card p {
  margin: 0;
  color: #374151;
  font-size: 17px;
}

.detail-neighbor a {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(146, 64, 14, 0.08);
}

.detail-neighbor span {
  display: block;
  color: var(--amber-600);
  font-weight: 900;
  font-size: 13px;
}

.detail-neighbor strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.side-card h2,
.watch-card h2,
.text-card h2 {
  font-size: 26px;
}

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

.side-card dt {
  color: var(--muted);
  font-weight: 900;
}

.side-card dd {
  margin: 0;
  font-weight: 800;
}

.side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: var(--amber-50);
  color: var(--amber-800);
  padding: 14px 16px;
  font-weight: 900;
}

.side-link + .side-link {
  margin-top: 10px;
}

.site-footer {
  margin-top: 90px;
  padding: 56px 0 28px;
  background: linear-gradient(135deg, #78350f, #451a03);
  color: #fef3c7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 14px;
  background: none;
  color: #fde68a;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fde68a;
  font-size: 18px;
}

.footer-grid p {
  margin: 0;
  color: #ffedd5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffedd5;
  padding: 8px 12px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(253, 230, 138, 0.22);
  color: #fde68a;
}

.is-hidden-card {
  display: none !important;
}

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

  .mobile-toggle {
    display: block;
  }

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

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

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

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

@media (max-width: 820px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 22px;
  }

  .site-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 28px;
    padding: 92px 0 84px;
  }

  .hero-poster {
    display: none;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

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

  .detail-cover {
    max-width: 260px;
  }

  .movie-grid,
  .small-grid,
  .category-grid,
  .footer-grid,
  .full-rank-list {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .category-overview-head,
  .section-heading.with-link,
  .detail-neighbor,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .full-rank-list li a {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .full-rank-list em {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .hero-title,
  .detail-copy h1 {
    font-size: 36px;
  }

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

  .movie-grid,
  .small-grid,
  .category-grid,
  .footer-grid,
  .full-rank-list {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 34px 76px minmax(0, 1fr);
  }

  .rank-item img {
    width: 76px;
  }

  .section {
    padding-top: 52px;
  }

  .watch-card,
  .text-card,
  .side-card,
  .category-overview-block,
  .feature-panel {
    padding: 20px;
  }
}
