:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(41, 37, 36, 0.08);
  --shadow-md: 0 8px 20px rgba(41, 37, 36, 0.10);
  --shadow-lg: 0 24px 55px rgba(41, 37, 36, 0.18);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --container: 1220px;
}

* {
  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(--stone-800);
  background: linear-gradient(180deg, #fffaf0 0%, var(--stone-50) 520px, #ffffff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--stone-200);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--amber-700));
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.28);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-title {
  font-size: 20px;
  color: var(--stone-800);
}

.brand-subtitle {
  color: var(--stone-500);
  font-size: 12px;
  font-weight: 500;
}

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

.nav-link {
  position: relative;
  color: var(--stone-700);
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--amber-600);
  transition: right 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-700);
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-search input,
.filter-panel select {
  border: 1px solid var(--stone-300);
  color: var(--stone-800);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 220px;
  border-radius: 999px;
  padding: 10px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-search input:focus,
.filter-panel select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.header-search button,
.mobile-search button,
.big-search button {
  border: 0;
  color: var(--white);
  background: var(--amber-600);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover {
  background: var(--amber-700);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: var(--stone-100);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--stone-700);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--stone-200);
  padding: 14px 16px 18px;
  background: rgba(255, 255, 255, 0.98);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  flex: 1;
  border-radius: 999px;
  padding: 11px 15px;
}

.mobile-nav {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--stone-700);
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.active {
  background: var(--amber-50);
  color: var(--amber-700);
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--stone-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s 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);
  filter: saturate(1.05);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 35%, rgba(245, 158, 11, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(28, 25, 23, 0.92) 0%, rgba(28, 25, 23, 0.74) 44%, rgba(28, 25, 23, 0.26) 100%),
    linear-gradient(0deg, rgba(28, 25, 23, 0.88) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 310px;
  align-items: center;
  gap: 56px;
  padding: 82px 0;
}

.hero-copy {
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--amber-400);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 12px 0;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy h2 + p,
.hero-copy h1 + h2 + p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin: 24px 0 30px;
}

.hero-tags span,
.detail-tags span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--stone-700);
  background: var(--amber-50);
  border: 1px solid rgba(245, 158, 11, 0.22);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--amber-50);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.btn.primary {
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.34);
}

.btn.primary:hover {
  background: var(--amber-700);
  transform: translateY(-2px);
}

.btn.ghost {
  color: var(--stone-900);
  background: rgba(255, 255, 255, 0.92);
}

.btn.subtle {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.hero-poster {
  position: relative;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--white);
  background: rgba(28, 25, 23, 0.72);
  backdrop-filter: blur(8px);
  font-weight: 900;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 36px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-control.prev {
  left: 20px;
}

.hero-control.next {
  right: 20px;
}

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

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

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

.home-search-block {
  margin-top: -44px;
  position: relative;
  z-index: 5;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
}

.big-search {
  display: flex;
  gap: 12px;
}

.big-search input {
  flex: 1;
  border-radius: 999px;
  padding: 16px 20px;
  font-size: 16px;
}

.big-search button {
  padding: 0 30px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--stone-700);
  background: var(--stone-100);
  font-size: 14px;
  font-weight: 800;
}

.quick-links a:hover {
  color: var(--amber-700);
  background: var(--amber-50);
}

.section-block {
  padding: 68px 0 0;
}

.section-heading,
.category-preview-head,
.ranking-head,
.player-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-heading h2,
.category-preview-head h2,
.ranking-head h2,
.player-title-row h2,
.detail-section h2 {
  margin: 8px 0 0;
  color: var(--stone-900);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading p,
.category-preview-head p {
  margin: 8px 0 0;
  max-width: 680px;
  color: var(--stone-600);
  line-height: 1.8;
}

.section-link,
.ranking-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber-700);
  font-weight: 900;
}

.section-link span {
  font-size: 22px;
}

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(231, 229, 228, 0.95);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--stone-200);
}

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

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 25, 23, 0.66), rgba(28, 25, 23, 0.02) 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.type-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.type-badge {
  left: 12px;
  padding: 6px 10px;
  background: rgba(28, 25, 23, 0.72);
}

.rank-badge {
  right: 12px;
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  background: var(--amber-600);
}

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

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

.card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.card-body strong {
  color: var(--stone-900);
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.card-desc {
  min-height: 42px;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  color: var(--stone-500);
  font-size: 13px;
  font-weight: 700;
}

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

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

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

.category-tile {
  position: relative;
  display: grid;
  min-height: 230px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--stone-900);
  box-shadow: var(--shadow-md);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 25, 23, 0.86), rgba(28, 25, 23, 0.18));
}

.category-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 8px;
  padding: 22px;
  color: var(--white);
}

.category-copy small {
  color: var(--amber-400);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.category-copy strong {
  font-size: 26px;
  line-height: 1.1;
}

.category-copy em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.65;
}

.ranking-panel {
  padding: 24px;
  border-radius: 22px;
  background: var(--stone-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.ranking-head h2 {
  color: var(--white);
}

.ranking-list,
.ranking-wide-list {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.ranking-row:hover,
.ranking-wide-row:hover {
  background: rgba(255, 255, 255, 0.13);
}

.ranking-row span,
.ranking-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: var(--amber-600);
  font-weight: 900;
}

.ranking-row strong {
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row em {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-style: normal;
}

.page-hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(245, 158, 11, 0.34), transparent 30%),
    linear-gradient(135deg, var(--stone-900), var(--stone-800));
  color: var(--white);
}

.compact-hero .container {
  padding: 76px 0 70px;
}

.compact-hero h1 {
  margin: 12px 0;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.compact-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.85;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--stone-200);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.filter-search input {
  width: 100%;
  border-radius: 999px;
  padding: 14px 18px;
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-panel select {
  min-width: 132px;
  border-radius: 999px;
  padding: 13px 16px;
}

.empty-state {
  padding: 32px;
  border-radius: 18px;
  color: var(--stone-600);
  background: var(--stone-100);
  text-align: center;
  font-weight: 800;
}

.category-preview-list {
  display: grid;
  gap: 42px;
}

.category-preview {
  padding: 28px;
  border: 1px solid var(--stone-200);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.ranking-page-layout {
  grid-template-columns: minmax(0, 1fr) 440px;
}

.sticky-panel {
  position: sticky;
  top: 100px;
}

.ranking-wide-row {
  display: grid;
  grid-template-columns: 36px 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.ranking-wide-row img {
  width: 72px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.ranking-wide-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ranking-wide-copy strong,
.ranking-wide-copy em,
.ranking-wide-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-wide-copy em {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-style: normal;
}

.ranking-wide-copy small {
  color: rgba(255, 255, 255, 0.48);
}

.detail-page {
  padding-top: 46px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--stone-200);
  border-radius: 30px;
  background:
    radial-gradient(circle at 95% 5%, rgba(245, 158, 11, 0.22), transparent 34%),
    var(--white);
  box-shadow: var(--shadow-lg);
}

.detail-cover {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

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

.detail-copy h1 {
  margin: 12px 0;
  color: var(--stone-900);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.detail-one-line {
  margin: 0 0 22px;
  color: var(--stone-600);
  font-size: 18px;
  line-height: 1.85;
}

.detail-tags {
  margin-bottom: 24px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.detail-meta-grid span {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--stone-100);
  color: var(--stone-600);
}

.detail-meta-grid strong {
  color: var(--stone-900);
  font-size: 13px;
}

.player-section,
.detail-section {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--stone-200);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.24));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 999px;
  color: var(--amber-700);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  font-size: 30px;
}

.player-layer span:last-child {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-weight: 900;
}

.detail-section p {
  color: var(--stone-700);
  font-size: 17px;
  line-height: 2;
}

.related-section .section-heading {
  margin-bottom: 24px;
}

.site-footer {
  margin-top: 82px;
  color: var(--stone-300);
  background: linear-gradient(180deg, var(--stone-800), var(--stone-900));
}

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

.footer-brand {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 16px;
}

.site-footer p {
  color: var(--stone-300);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 16px;
}

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

.footer-links a {
  color: var(--stone-300);
}

.footer-links a:hover {
  color: var(--amber-400);
}

.tag-cloud.compact span {
  color: var(--stone-200);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.10);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  padding: 18px;
  color: var(--stone-500);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .featured-grid,
  .archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .sticky-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 700px;
  }

  .hero-poster {
    max-width: 260px;
    transform: none;
  }

  .hero-poster img {
    height: 330px;
  }

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

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

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

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

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

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

  .header-inner {
    min-height: 66px;
  }

  .brand-title {
    font-size: 17px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-carousel {
    min-height: 680px;
  }

  .hero-content {
    min-height: 680px;
    padding: 54px 0 86px;
  }

  .hero-copy h1,
  .hero-copy h2,
  .compact-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

  .hero-copy h2 + p,
  .hero-copy h1 + h2 + p,
  .compact-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-control {
    top: auto;
    bottom: 76px;
    width: 42px;
    height: 42px;
  }

  .hero-control.prev {
    left: 16px;
  }

  .hero-control.next {
    right: 16px;
  }

  .home-search-block {
    margin-top: -30px;
    padding: 16px;
  }

  .big-search {
    flex-direction: column;
  }

  .big-search button {
    min-height: 46px;
  }

  .section-heading,
  .category-preview-head,
  .player-title-row {
    align-items: start;
    flex-direction: column;
  }

  .movie-grid,
  .featured-grid,
  .archive-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 13px;
  }

  .card-body strong {
    font-size: 16px;
  }

  .card-desc {
    min-height: auto;
    font-size: 13px;
  }

  .category-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .category-tile {
    min-height: 190px;
  }

  .filter-selects {
    display: grid;
  }

  .filter-panel select {
    width: 100%;
  }

  .ranking-wide-row {
    grid-template-columns: 32px 58px minmax(0, 1fr);
  }

  .ranking-wide-row img {
    width: 58px;
    height: 46px;
  }

  .detail-page {
    padding-top: 22px;
  }

  .detail-hero,
  .player-section,
  .detail-section,
  .category-preview {
    padding: 18px;
    border-radius: 20px;
  }

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

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

@media (max-width: 430px) {
  .movie-grid,
  .featured-grid,
  .archive-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
}
