:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-muted: #64748b;
  --color-line: #e5e7eb;
  --color-amber: #f59e0b;
  --color-amber-dark: #d97706;
  --color-orange: #ea580c;
  --color-dark: #111827;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 28%, #ffffff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.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.75);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--color-dark);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.site-logo__mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.35);
}

.site-logo__text {
  font-size: 21px;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  color: #475569;
  border-radius: 999px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-amber-dark);
  background: #fffbeb;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 220px;
  padding: 12px;
  display: grid;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__panel a {
  padding: 10px 12px;
  color: #475569;
  border-radius: 12px;
  font-weight: 700;
}

.nav-dropdown__panel a:hover {
  color: var(--color-amber-dark);
  background: #fffbeb;
}

.site-search {
  width: 250px;
  height: 42px;
  display: flex;
  align-items: center;
  padding: 4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.site-search input,
.mobile-search input,
.search-panel__form input,
.filter-bar input {
  width: 100%;
  min-width: 0;
  color: var(--color-text);
  background: transparent;
  border: 0;
  outline: 0;
}

.site-search input {
  padding: 0 12px;
}

.site-search button,
.mobile-search button {
  height: 32px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--color-amber);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
}

.mobile-menu-button span {
  width: 18px;
  height: 2px;
  background: var(--color-amber-dark);
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  padding: 16px;
  background: #ffffff;
  border-top: 1px solid var(--color-line);
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 6px;
  margin-bottom: 12px;
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: 16px;
}

.mobile-search input {
  padding: 0 10px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 10px;
  color: #475569;
  border-radius: 12px;
  font-weight: 800;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--color-amber-dark);
  background: #fffbeb;
}

.hero-slider {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.hero-slider__slides {
  position: relative;
  min-height: 690px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 48px;
  width: 100%;
  padding: 88px max(32px, calc((100vw - 1180px) / 2)) 96px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.35)), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% 45%;
  height: 380px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.42), rgba(245, 158, 11, 0));
  pointer-events: none;
}

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

.hero-slide__content,
.hero-slide__media {
  position: relative;
  z-index: 2;
}

.hero-slide__content {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fbbf24;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-slide h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 950;
}

.hero-slide h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 84px);
}

.hero-summary {
  margin: 24px 0 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

.hero-tags--plain span {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}

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

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

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

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
  box-shadow: 0 16px 30px rgba(234, 88, 12, 0.30);
}

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

.hero-slide__media {
  justify-self: end;
  width: min(390px, 34vw);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

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

.hero-slider__controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-slider__controls button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(14px);
}

.hero-slider__dots {
  display: flex;
  gap: 8px;
}

.hero-slider__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
  border: 0;
}

.hero-slider__dots button.is-active {
  width: 30px;
  background: var(--color-amber);
}

.hero-quick-links {
  position: absolute;
  z-index: 4;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 30px;
  display: flex;
  gap: 10px;
}

.hero-quick-links a {
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.section {
  padding: 64px 0;
}

.section--lift {
  margin-top: -42px;
  position: relative;
  z-index: 8;
}

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

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.section-link {
  color: var(--color-amber-dark);
  font-weight: 900;
}

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

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

.category-tile {
  min-height: 205px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  border-color: #fcd34d;
  box-shadow: var(--shadow-soft);
}

.category-tile__icon {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 16px;
}

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

.category-tile em {
  margin-top: 2px;
  color: var(--color-amber-dark);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.category-tile p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.category-tile small {
  margin-top: auto;
  padding-top: 14px;
  color: #94a3b8;
}

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: #fcd34d;
  box-shadow: var(--shadow-soft);
}

.movie-card__cover {
  position: relative;
  display: block;
  height: 245px;
  overflow: hidden;
  background: #0f172a;
}

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

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

.movie-card__cover::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.72));
}

.movie-card__badge,
.movie-card__year {
  position: absolute;
  z-index: 2;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.movie-card__badge {
  left: 12px;
  background: var(--color-amber);
}

.movie-card__year {
  right: 12px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.movie-card__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.92);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.movie-card__body {
  padding: 16px;
}

.movie-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 48px;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__title:hover {
  color: var(--color-amber-dark);
}

.movie-card__body p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  margin: 8px 0 12px;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
}

.movie-card__meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card--feature .movie-card__cover {
  height: 410px;
}

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

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

.wide-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.wide-card__image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
}

.wide-card__image img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.rank-number {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
  border-radius: 14px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.28);
}

.wide-card__body {
  min-width: 0;
  padding: 2px 0;
}

.wide-card__title {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 19px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wide-card__title:hover {
  color: var(--color-amber-dark);
}

.wide-card__body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 14px;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.wide-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wide-card__meta span {
  padding: 4px 9px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.editorial-section {
  padding: 64px max(0px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #ecfeff, #eff6ff 52%, #fff7ed);
  border-radius: 36px;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}

.editorial-list {
  display: grid;
  gap: 16px;
}

.search-panel {
  padding-bottom: 88px;
}

.search-panel__content {
  padding: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #1e293b 58%, #92400e);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.search-panel__content h2 {
  margin: 0;
  font-size: 34px;
}

.search-panel__content p {
  color: rgba(255, 255, 255, 0.76);
}

.search-panel__form {
  display: flex;
  gap: 12px;
  max-width: 700px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.search-panel__form input {
  padding: 0 18px;
  color: #ffffff;
}


.page-main {
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 260px, #ffffff 100%);
}

.page-hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 10%, rgba(245, 158, 11, 0.28), transparent 34%), linear-gradient(135deg, #111827, #1f2937);
  color: #ffffff;
}

.page-hero--compact {
  text-align: center;
}

.page-hero--category {
  padding: 74px 0;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 68px);
}

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

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 36px;
}

.page-hero__grid p {
  margin-left: 0;
}

.page-hero__poster-stack {
  position: relative;
  height: 300px;
}

.page-hero__poster-stack img {
  position: absolute;
  width: 190px;
  height: 260px;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.page-hero__poster-stack img:nth-child(1) {
  left: 0;
  top: 28px;
  transform: rotate(-8deg);
}

.page-hero__poster-stack img:nth-child(2) {
  left: 92px;
  top: 4px;
  z-index: 2;
}

.page-hero__poster-stack img:nth-child(3) {
  right: 0;
  top: 48px;
  transform: rotate(8deg);
}

.filter-shell {
  padding-top: 40px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 28px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.filter-bar--sticky {
  position: sticky;
  top: 88px;
  z-index: 10;
}

.filter-bar input {
  height: 46px;
  padding: 0 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button {
  min-height: 38px;
  padding: 0 14px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-weight: 800;
}

.filter-buttons button:hover,
.filter-buttons button.is-active {
  color: #ffffff;
  background: var(--color-amber);
  border-color: var(--color-amber);
}

.detail-main {
  background: #ffffff;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  color: #ffffff;
  background: #0f172a;
}

.detail-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.08);
  transform: scale(1.08);
  opacity: 0.45;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72)), linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.95));
}

.detail-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: center;
  gap: 44px;
  padding: 72px 0;
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.35);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

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

.detail-info h1 {
  font-size: clamp(40px, 6vw, 74px);
}

.detail-one-line {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.player-section {
  padding-top: 46px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: 30px;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.22);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #000000;
  border: 0;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.player-cover__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 34%), linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.82));
}

.player-action {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
  border-radius: 999px;
  box-shadow: 0 20px 45px rgba(234, 88, 12, 0.36);
  font-size: 34px;
  transform: translate(-50%, -50%);
}

.content-card {
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.content-card h2 {
  margin: 28px 0 12px;
  color: #111827;
  font-size: 26px;
  line-height: 1.25;
}

.content-card h2:first-child {
  margin-top: 0;
}

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

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

.detail-table div {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.detail-table strong,
.detail-table span {
  display: block;
}

.detail-table strong {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 4px;
}

.detail-table span {
  color: #111827;
  font-weight: 900;
}

.site-footer {
  margin-top: 60px;
  color: #cbd5e1;
  background: #0f172a;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
  gap: 36px;
}

.site-logo--footer {
  color: #ffffff;
}

.site-footer__brand p {
  max-width: 430px;
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #fbbf24;
  font-size: 18px;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.footer-link-grid a {
  color: #cbd5e1;
  font-size: 14px;
}

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

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

@media (max-width: 1120px) {
  .site-nav,
  .site-search {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    margin-left: auto;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-slide__media {
    display: none;
  }

  .hero-quick-links {
    display: none;
  }

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

  .page-hero__grid,
  .detail-hero__grid,
  .editorial-layout {
    grid-template-columns: 1fr;
  }

  .page-hero__poster-stack {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    height: 64px;
  }

  .site-logo__text {
    font-size: 18px;
  }

  .hero-slider,
  .hero-slider__slides {
    min-height: 610px;
  }

  .hero-slide {
    padding: 64px 22px 92px;
  }

  .hero-summary {
    font-size: 16px;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading,
  .filter-bar,
  .search-panel__form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .category-grid,
  .category-grid--large,
  .movie-grid,
  .movie-grid--catalog,
  .rank-grid,
  .rank-grid--page,
  .detail-table,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .movie-card__cover {
    height: 265px;
  }

  .wide-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .wide-card__image img {
    height: 150px;
  }

  .detail-hero__grid {
    padding: 44px 0;
  }

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

  .content-card,
  .search-panel__content {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .container,
  .site-header__inner,
  .site-footer__inner {
    width: min(100% - 24px, 1180px);
  }

  .site-logo__mark {
    width: 36px;
    height: 36px;
  }

  .hero-slide h1,
  .page-hero h1,
  .detail-info h1 {
    letter-spacing: -0.03em;
  }

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

  .button {
    width: 100%;
  }

  .movie-card__cover {
    height: 320px;
  }

  .wide-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .wide-card__image img {
    height: 132px;
  }

  .wide-card__body p {
    -webkit-line-clamp: 2;
  }

  .player-action {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }
}
