:root {
  --rose: #e11d48;
  --rose-dark: #be123c;
  --orange: #f97316;
  --amber: #f59e0b;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --teal: #14b8a6;
  --emerald: #10b981;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --slate: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #fff7ed;
  --shell: min(1180px, calc(100vw - 32px));
  --radius-xl: 28px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 45px rgba(17, 24, 39, 0.10);
  --shadow-hover: 0 25px 60px rgba(225, 29, 72, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 45%, #fff7ed 100%);
  color: #111827;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(17, 24, 39, 0.06);
}

.header-shell {
  width: var(--shell);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-5deg);
}

.brand-mark.small {
  width: 30px;
  height: 30px;
  font-size: 15px;
}

.brand-text {
  font-size: clamp(20px, 2vw, 26px);
  background: linear-gradient(90deg, var(--rose-dark), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 10px 13px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rose-dark);
  background: #fff1f2;
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  width: min(320px, 26vw);
}

.global-search-input,
.hero-search input,
.filter-search-row input {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  background: #ffffff;
  color: #111827;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.global-search-input:focus,
.hero-search input:focus,
.filter-search-row input:focus {
  border-color: rgba(225, 29, 72, 0.55);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.10);
}

.global-search-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(520px, 88vw);
  max-height: 520px;
  overflow: auto;
  padding: 10px;
  display: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.global-search-panel.is-open {
  display: grid;
  gap: 8px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: #fff7ed;
}

.search-result-item img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
  background: #f3f4f6;
}

.search-result-item strong {
  display: block;
  color: #111827;
  line-height: 1.25;
}

.search-result-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  display: block;
  background: #111827;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
  color: #9f1239;
  font-weight: 700;
}

.home-hero {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background: linear-gradient(115deg, #ffe4e6 0%, #fff7ed 45%, #fef3c7 100%);
}

.hero-pattern,
.sub-hero::before,
.category-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.36;
  background-image: radial-gradient(circle at 18% 16%, rgba(225, 29, 72, 0.18), transparent 26%), radial-gradient(circle at 78% 26%, rgba(249, 115, 22, 0.20), transparent 28%), linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
}

.hero-shell {
  position: relative;
  width: var(--shell);
  min-height: 630px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 64px 0;
}

.hero-copy-block h1 {
  margin: 18px 0 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-copy-block h1 span {
  display: block;
  background: linear-gradient(90deg, var(--rose-dark), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy-block h1 strong {
  display: block;
  color: #111827;
}

.eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #be123c;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 35px rgba(225, 29, 72, 0.10);
}

.hero-copy-block p,
.sub-hero p,
.category-hero p {
  max-width: 660px;
  margin: 0 0 26px;
  color: #4b5563;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.hero-search {
  display: flex;
  width: min(620px, 100%);
  padding: 6px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.hero-search input {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.hero-search button,
.primary-action,
.hero-slide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-search button:hover,
.primary-action:hover,
.hero-slide-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(225, 29, 72, 0.34);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0 24px;
}

.secondary-action,
.text-action,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  color: #111827;
  background: #ffffff;
  border: 1px solid var(--line);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.secondary-action:hover,
.text-action:hover,
.section-more:hover {
  color: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.10);
}

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

.hero-stats span {
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #4b5563;
  font-weight: 700;
}

.hero-stats strong {
  color: var(--rose-dark);
  font-size: 20px;
}

.hero-stage {
  position: relative;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 28px 70px rgba(190, 18, 60, 0.16);
  backdrop-filter: blur(14px);
}

.hero-slider {
  position: relative;
  min-height: 500px;
  border-radius: 28px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-poster {
  position: absolute;
  inset: 0;
}

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

.hero-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.04) 0%, rgba(17, 24, 39, 0.44) 45%, rgba(17, 24, 39, 0.92) 100%);
}

.hero-slide-copy {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: #ffffff;
}

.hero-slide-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.hero-slide-copy p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ffffff;
  color: #9f1239;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 12px 25px rgba(17, 24, 39, 0.10);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--rose), var(--orange));
}

.content-section {
  width: var(--shell);
  margin: 0 auto;
  padding: 70px 0;
}

.warm-section,
.cool-section,
.dark-section {
  width: 100%;
  max-width: none;
  padding: 70px max(16px, calc((100vw - 1180px) / 2));
}

.warm-section {
  background: linear-gradient(90deg, #fffbeb, #fff7ed);
}

.cool-section {
  background: linear-gradient(90deg, #ecfeff, #eff6ff);
}

.dark-section {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #ffffff;
}

.dark-section .section-heading p,
.dark-section .movie-card p,
.dark-section .movie-meta-row,
.dark-section .movie-foot span {
  color: #d1d5db;
}

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

.section-heading h2 {
  margin: 0 0 8px;
  color: inherit;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(225, 29, 72, 0.30);
  box-shadow: var(--shadow-hover);
}

.movie-card.dark {
  background: #1f2937;
  border-color: #374151;
  color: #ffffff;
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6, #fee2e2);
}

.movie-card.square .poster-frame,
.movie-card.dark .poster-frame {
  aspect-ratio: 1 / 1;
}

.movie-card.landscape .poster-frame {
  aspect-ratio: 4 / 3;
}

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

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

.poster-frame::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.72));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.poster-play {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  transform: translate(-50%, 18px);
  opacity: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  font-weight: 900;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.26);
}

.movie-card-body {
  padding: 18px;
}

.movie-meta-row,
.movie-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #6b7280;
  font-size: 13px;
}

.mini-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--rose-dark);
  background: #fff1f2;
  font-weight: 900;
}

.movie-card h3 {
  margin: 12px 0 8px;
  color: inherit;
  font-size: 20px;
  line-height: 1.25;
}

.movie-card h3 a:hover {
  color: var(--rose-dark);
}

.movie-card p {
  min-height: 46px;
  margin: 0 0 14px;
  color: #6b7280;
  line-height: 1.55;
  font-size: 14px;
}

.tag-row,
.detail-tags,
.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.detail-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.movie-foot {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f3f4f6;
}

.movie-foot a {
  color: var(--rose-dark);
  font-weight: 900;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 26px;
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile-image,
.category-overview-media {
  position: absolute;
  inset: 0;
}

.category-tile-image img,
.category-overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.category-tile::after,
.category-overview-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.10), rgba(17, 24, 39, 0.80));
}

.category-tile-copy {
  position: relative;
  z-index: 2;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
}

.category-tile-copy strong {
  font-size: 24px;
}

.category-tile-copy em {
  font-style: normal;
  color: #fed7aa;
  font-weight: 900;
}

.compact-list {
  display: grid;
  gap: 12px;
}

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

.compact-card {
  display: grid;
  grid-template-columns: auto 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.compact-rank {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  font-weight: 900;
}

.compact-thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
  background: #f3f4f6;
}

.compact-info strong,
.compact-info em {
  display: block;
}

.compact-info strong {
  margin-bottom: 5px;
  color: #111827;
}

.compact-info em {
  color: #6b7280;
  font-style: normal;
  font-size: 13px;
}

.compact-action {
  color: var(--rose-dark);
  font-weight: 900;
}

.sub-hero,
.category-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
}

.sub-hero {
  background: linear-gradient(115deg, #ffe4e6, #fff7ed, #fef3c7);
}

.sub-hero-shell,
.category-hero-shell {
  position: relative;
  width: var(--shell);
  margin: 0 auto;
  padding: 80px 0;
}

.sub-hero h1,
.category-hero h1 {
  margin: 18px 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.category-overview-grid {
  display: grid;
  gap: 24px;
}

.category-overview-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  border-radius: var(--radius-xl);
  background: #111827;
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

.category-overview-media {
  position: relative;
  z-index: 1;
}

.category-overview-card::after {
  opacity: 0.15;
}

.category-overview-copy {
  position: relative;
  z-index: 2;
  padding: 34px;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.58));
}

.category-count {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 7px 11px;
  color: #fed7aa;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.category-overview-copy h2 {
  margin: 0 0 10px;
  font-size: 32px;
}

.category-overview-copy p {
  color: #e5e7eb;
  line-height: 1.7;
}

.category-overview-copy ul {
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.category-overview-copy li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}

.category-overview-copy li span {
  color: #fed7aa;
}

.category-hero {
  min-height: 400px;
  color: #ffffff;
  background: #111827;
}

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

.category-hero-bg img,
.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: blur(2px) saturate(1.1);
}

.category-hero::after,
.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.58));
}

.category-hero-shell {
  z-index: 2;
}

.category-hero p {
  color: #e5e7eb;
}

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

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

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

.filter-panel {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
}

.filter-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.filter-search-row span {
  color: #6b7280;
  font-weight: 800;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: #ffffff;
  color: #4b5563;
  font-weight: 800;
  cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
}

.sticky-panel {
  position: sticky;
  top: 100px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.sticky-panel h2 {
  margin: 0 0 16px;
}

.compact-list.small .compact-card {
  grid-template-columns: auto 52px 1fr;
}

.compact-list.small .compact-action {
  display: none;
}

.compact-list.small .compact-thumb img {
  width: 52px;
  height: 52px;
}

.detail-hero {
  min-height: 620px;
  color: #ffffff;
  background: #111827;
}

.detail-shell {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto;
  padding: 58px 0 72px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

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

.detail-copy h1 {
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  color: #e5e7eb;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.75;
}

.detail-tags {
  margin: 20px 0;
}

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

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

.detail-meta-grid span {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  color: #f9fafb;
}

.detail-meta-grid strong {
  color: #fed7aa;
  font-size: 12px;
}

.player-section {
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

.player-card {
  overflow: hidden;
  padding: 14px;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 25px 80px rgba(17, 24, 39, 0.25);
}

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

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.26), rgba(17, 24, 39, 0.78));
  cursor: pointer;
}

.video-overlay.is-hidden {
  display: none;
}

.play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 15px 35px rgba(225, 29, 72, 0.40);
  font-size: 34px;
}

.video-overlay strong {
  font-size: 24px;
}

.video-overlay em,
.player-note {
  color: #d1d5db;
  font-style: normal;
}

.player-note {
  margin: 12px 6px 4px;
  font-size: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
}

.story-card,
.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.story-card h2,
.info-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.story-card p {
  margin: 0 0 28px;
  color: #374151;
  line-height: 2;
  font-size: 17px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.info-card dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  margin: 0;
}

.info-card dt {
  color: #6b7280;
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  color: #111827;
}

.info-card a {
  color: var(--rose-dark);
  font-weight: 900;
}

.site-footer {
  margin-top: 30px;
  color: #d1d5db;
  background: #111827;
}

.footer-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

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

.footer-grid p {
  margin: 0;
  line-height: 1.8;
}

.footer-grid ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.footer-brand-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

.from-rose-to-orange {
  --tile-a: var(--rose);
  --tile-b: var(--orange);
}

.from-amber-to-orange {
  --tile-a: var(--amber);
  --tile-b: var(--orange);
}

.from-slate-to-rose {
  --tile-a: #111827;
  --tile-b: var(--rose);
}

.from-blue-to-cyan {
  --tile-a: var(--blue);
  --tile-b: var(--cyan);
}

.from-pink-to-rose {
  --tile-a: var(--pink);
  --tile-b: var(--rose);
}

.from-violet-to-orange {
  --tile-a: var(--violet);
  --tile-b: var(--orange);
}

.from-emerald-to-teal {
  --tile-a: var(--emerald);
  --tile-b: var(--teal);
}

.from-gray-to-amber {
  --tile-a: #374151;
  --tile-b: var(--amber);
}

.category-tile::before,
.category-overview-copy::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, color-mix(in srgb, var(--tile-a, #e11d48) 70%, transparent), color-mix(in srgb, var(--tile-b, #f97316) 55%, transparent));
  opacity: 0.54;
}

.category-overview-copy > * {
  position: relative;
  z-index: 2;
}

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

.no-results-message {
  padding: 24px;
  border: 1px dashed #fecdd3;
  border-radius: 20px;
  background: #fff1f2;
  color: #9f1239;
  font-weight: 800;
}

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

  .menu-button {
    display: grid;
  }

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

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

  .hero-stage {
    max-width: 620px;
  }

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

  .catalog-grid,
  .featured-grid,
  .landscape-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-column,
  .sticky-panel {
    position: static;
  }

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

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

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

@media (max-width: 760px) {
  :root {
    --shell: min(100vw - 24px, 1180px);
  }

  .header-shell {
    min-height: 66px;
    gap: 12px;
  }

  .brand-text {
    font-size: 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-search {
    display: none;
  }

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

  .home-hero,
  .hero-shell {
    min-height: auto;
  }

  .hero-shell {
    padding: 44px 0;
  }

  .hero-search {
    display: grid;
    border-radius: 24px;
  }

  .hero-search button {
    width: 100%;
  }

  .hero-slider {
    min-height: 420px;
  }

  .content-section,
  .warm-section,
  .cool-section,
  .dark-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .section-heading,
  .footer-bottom {
    display: grid;
    align-items: start;
  }

  .featured-grid,
  .trend-grid,
  .landscape-grid,
  .dark-grid,
  .new-grid,
  .related-grid,
  .catalog-grid,
  .category-tile-grid,
  .compact-list.wide {
    grid-template-columns: 1fr;
  }

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

  .category-overview-media {
    min-height: 220px;
  }

  .compact-card {
    grid-template-columns: auto 58px 1fr;
  }

  .compact-action {
    display: none;
  }

  .compact-thumb img {
    width: 58px;
    height: 58px;
  }

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

  .detail-shell {
    padding-top: 38px;
  }

  .detail-meta-grid,
  .footer-grid,
  .info-card dl {
    grid-template-columns: 1fr;
  }

  .player-section {
    margin-top: -30px;
  }
}
