/*
  好看日韩剧 - 纯静态电影网站样式
  视觉基调参考上传素材中的 sand / rose / purple / stone 色系、圆角卡片、渐变首屏、固定导航与响应式布局。
*/
:root {
  --color-sand-50: #faf8f3;
  --color-sand-100: #f4eddf;
  --color-sand-200: #e8ddc9;
  --color-stone-50: #f7f6f4;
  --color-stone-100: #eeeae4;
  --color-stone-200: #ddd8cf;
  --color-stone-600: #6f6257;
  --color-stone-800: #604f45;
  --color-stone-900: #4f453e;
  --color-desert-500: #d4844b;
  --color-rose-500: #f43f5e;
  --color-purple-500: #a855f7;
  --shadow-sand: 0 10px 30px -5px rgba(184, 144, 89, 0.2);
  --shadow-desert: 0 18px 42px -20px rgba(116, 75, 39, 0.55);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-stone-900);
  background: linear-gradient(180deg, var(--color-sand-50), #ffffff 45%, var(--color-stone-50));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  border-bottom: 1px solid rgba(232, 221, 201, 0.75);
  box-shadow: 0 10px 30px rgba(79, 69, 62, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-rose-500), var(--color-purple-500));
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 22px;
  background: linear-gradient(90deg, #e11d48, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em {
  margin-top: 4px;
  color: var(--color-stone-600);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--color-rose-500), var(--color-purple-500));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #be123c;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--color-sand-200);
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--color-stone-900);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-sand-200);
  border-radius: 18px;
  box-shadow: var(--shadow-sand);
}

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

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

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #be123c;
  background: var(--color-sand-100);
}

main {
  min-height: 70vh;
}

.page-main {
  padding-top: 76px;
}

.hero {
  position: relative;
  min-height: 720px;
  padding-top: 76px;
  overflow: hidden;
  background: var(--color-stone-900);
}

.hero-slider {
  position: relative;
  min-height: 644px;
}

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

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.08);
  transform: scale(1.04);
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 30%, rgba(244, 63, 94, 0.36), transparent 35%),
    linear-gradient(90deg, rgba(34, 26, 22, 0.92), rgba(34, 26, 22, 0.58) 52%, rgba(34, 26, 22, 0.35)),
    linear-gradient(180deg, rgba(34, 26, 22, 0.24), rgba(34, 26, 22, 0.84));
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.58fr);
  gap: 56px;
  align-items: center;
  width: min(var(--container), calc(100% - 32px));
  min-height: 644px;
  margin: 0 auto;
  padding: 72px 0 92px;
}

.hero-copy {
  max-width: 760px;
  color: #ffffff;
}

.hero-tags,
.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.card-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  color: #ffffff;
  background: rgba(244, 63, 94, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-rose-500), var(--color-purple-500));
  box-shadow: 0 16px 30px rgba(244, 63, 94, 0.25);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.full-width {
  width: 100%;
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

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

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-poster span,
.card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

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

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

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.stats-strip div {
  padding: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--color-sand-200);
  border-radius: 22px;
  box-shadow: var(--shadow-sand);
  backdrop-filter: blur(14px);
}

.stats-strip strong {
  display: block;
  color: #be123c;
  font-size: 30px;
  line-height: 1;
}

.stats-strip span {
  display: block;
  margin-top: 8px;
  color: var(--color-stone-600);
  font-size: 13px;
  font-weight: 700;
}

.section-block {
  margin-top: 70px;
}

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

.section-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #be123c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--color-stone-600);
}

.section-more {
  flex: none;
  color: #be123c;
  font-weight: 800;
}

.search-panel {
  margin-top: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--color-sand-200);
  border-radius: 22px;
  box-shadow: var(--shadow-sand);
}

.search-label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-stone-800);
  font-weight: 900;
}

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

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  background: var(--color-stone-50);
  border: 1px solid var(--color-sand-200);
  border-radius: 14px;
  outline: none;
}

.search-box input:focus {
  border-color: rgba(244, 63, 94, 0.55);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.1);
}

.search-box button {
  flex: none;
  padding: 0 18px;
  color: #ffffff;
  cursor: pointer;
  background: var(--color-stone-900);
  border: 0;
  border-radius: 14px;
  font-weight: 800;
}

.search-count {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--color-stone-600);
  font-size: 13px;
}

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

.category-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-sand);
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.74));
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.category-card span,
.category-card em {
  position: absolute;
  z-index: 2;
  left: 16px;
  color: #ffffff;
}

.category-card span {
  right: 16px;
  bottom: 36px;
  font-size: 18px;
  font-weight: 900;
}

.category-card em {
  bottom: 14px;
  font-size: 12px;
  font-style: normal;
  opacity: 0.82;
}

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

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

.all-movies-grid {
  align-items: start;
}

.movie-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-sand-200);
  border-radius: 20px;
  box-shadow: var(--shadow-sand);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-stone-200);
}

.movie-card-featured .card-cover {
  aspect-ratio: 21 / 9;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.card-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
}

.card-play {
  width: 46px;
  height: 46px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-rose-500), var(--color-purple-500));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 16px;
}

.card-tags span {
  color: #be123c;
  background: #fff1f2;
  border-color: #fecdd3;
}

.card-body h3 {
  margin: 12px 0 8px;
  color: var(--color-stone-900);
  font-size: 18px;
  line-height: 1.25;
}

.card-body h3 a:hover {
  color: #be123c;
}

.card-body p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: var(--color-stone-600);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  color: var(--color-stone-600);
  font-size: 12px;
  font-weight: 800;
}

.card-meta a {
  color: #be123c;
}

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

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

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

.rank-panel h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 24px;
}

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

.rank-item a {
  display: grid;
  grid-template-columns: 36px 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item a:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(4px);
}

.rank-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-rose-500), var(--color-purple-500));
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.rank-item img {
  width: 54px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  font-size: 14px;
}

.rank-info em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-style: normal;
}

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

.rank-list-large .rank-item a {
  color: var(--color-stone-900);
  background: #ffffff;
  border-color: var(--color-sand-200);
  box-shadow: var(--shadow-sand);
}

.rank-list-large .rank-info em {
  color: var(--color-stone-600);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 10%, rgba(244, 63, 94, 0.32), transparent 30%),
    linear-gradient(135deg, #4f453e, #2a211d 68%);
}

.compact-hero,
.category-hero {
  padding: 84px 0 72px;
}

.page-hero span {
  color: #fecdd3;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 900px;
  margin: 12px 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-mini-meta {
  display: inline-flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 22px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.hero-mini-meta strong {
  color: #ffffff;
  font-size: 24px;
}

.hero-mini-meta em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-sand-200);
  border-radius: 24px;
  box-shadow: var(--shadow-sand);
}

.category-overview-cover img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.category-overview-body {
  padding: 22px;
}

.category-overview-body h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-overview-body p {
  margin: 0 0 12px;
  color: var(--color-stone-600);
}

.category-overview-body strong {
  color: #be123c;
}

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

.mini-links a {
  padding: 5px 9px;
  color: var(--color-stone-800);
  background: var(--color-sand-100);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.detail-main {
  background: #ffffff;
}

.detail-hero {
  padding-top: 76px;
  background-position: center;
  background-size: cover;
}

.detail-hero-overlay {
  padding: 72px 0 80px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(34, 26, 22, 0.92), rgba(34, 26, 22, 0.64)),
    linear-gradient(180deg, rgba(34, 26, 22, 0.2), rgba(34, 26, 22, 0.82));
  backdrop-filter: blur(2px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb em {
  color: #ffffff;
  font-style: normal;
}

.detail-title-row {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.detail-title-row h1 {
  max-width: 860px;
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.detail-title-row p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  margin-top: 34px;
}

.player-card,
.detail-article,
.side-info-card,
.poster-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-sand-200);
  border-radius: 24px;
  box-shadow: var(--shadow-sand);
}

.player-shell {
  position: relative;
  background: #000000;
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.player-overlay-button span {
  margin-left: 5px;
  font-size: 30px;
}

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

.detail-article {
  margin-top: 24px;
  padding: 28px;
}

.detail-article h2 {
  margin: 30px 0 12px;
  font-size: 26px;
}

.detail-article h2:first-of-type {
  margin-top: 22px;
}

.detail-article p {
  color: var(--color-stone-800);
  font-size: 16px;
}

.detail-tags span {
  color: #be123c;
  background: #fff1f2;
  border-color: #fecdd3;
}

.movie-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.movie-info-list div {
  padding: 14px;
  background: var(--color-sand-50);
  border: 1px solid var(--color-sand-200);
  border-radius: 16px;
}

.movie-info-list dt {
  color: var(--color-stone-600);
  font-size: 12px;
  font-weight: 900;
}

.movie-info-list dd {
  margin: 4px 0 0;
  color: var(--color-stone-900);
  font-weight: 800;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
  align-self: start;
}

.poster-card {
  position: relative;
  display: block;
}

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

.poster-card span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 10px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.92), rgba(168, 85, 247, 0.92));
  border-radius: 999px;
  font-weight: 900;
}

.side-info-card {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.side-info-card h2 {
  margin: 0 0 8px;
}

.side-info-card a {
  padding: 12px 14px;
  background: var(--color-sand-50);
  border: 1px solid var(--color-sand-200);
  border-radius: 14px;
  font-weight: 800;
}

.side-info-card a:hover {
  color: #be123c;
}

.article-page article {
  max-width: 900px;
  padding: 36px;
  background: #ffffff;
  border: 1px solid var(--color-sand-200);
  border-radius: 24px;
  box-shadow: var(--shadow-sand);
}

.article-page p {
  margin: 0 0 18px;
  color: var(--color-stone-800);
  font-size: 17px;
}

.site-footer {
  margin-top: 90px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--color-stone-900);
}

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

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 42px;
}

.footer-brand {
  color: #ffffff;
  font-size: 24px;
}

.site-footer p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links a:hover {
  color: #fb7185;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

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

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

  .menu-toggle {
    display: block;
  }

  .hero-content,
  .detail-layout,
  .two-column-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-sidebar,
  .sticky-panel {
    display: none;
  }

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

  .movie-grid,
  .featured-grid,
  .rank-list-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-title-row {
    align-items: start;
    flex-direction: column;
  }
}

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

  .brand-text strong {
    font-size: 19px;
  }

  .brand-text em {
    display: none;
  }

  .page-main,
  .hero,
  .detail-hero {
    padding-top: 66px;
  }

  .hero {
    min-height: 640px;
  }

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

  .hero-content {
    padding: 54px 0 82px;
  }

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

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

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

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

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .featured-grid,
  .rank-list-large,
  .footer-main,
  .movie-info-list {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}
