* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(41, 37, 36, 0.12);
  --shadow-strong: 0 24px 80px rgba(12, 10, 9, 0.28);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #fafaf9 0%, #ffffff 42%, #fafaf9 100%);
  color: var(--stone-800);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  transition: background 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.86), rgba(28, 25, 23, 0));
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(28, 25, 23, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.34);
  font-size: 14px;
}

.brand-text {
  color: var(--white);
  font-size: 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.site-header.is-scrolled .brand-text,
.site-header.menu-open .brand-text {
  color: var(--stone-800);
  text-shadow: none;
}

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

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  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(--white);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.site-header.is-scrolled .nav-link,
.site-header.menu-open .nav-link {
  color: var(--stone-700);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active,
.site-header.menu-open .nav-link:hover,
.site-header.menu-open .nav-link.is-active {
  color: var(--amber-dark);
  background: #fff7ed;
}

.header-search {
  width: min(260px, 24vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header.is-scrolled .header-search,
.site-header.menu-open .header-search {
  background: var(--stone-100);
  border-color: var(--stone-200);
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
}

.header-search input {
  min-width: 0;
  padding: 8px 4px 8px 10px;
  color: var(--white);
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.site-header.is-scrolled .header-search input,
.site-header.menu-open .header-search input {
  color: var(--stone-800);
}

.site-header.is-scrolled .header-search input::placeholder,
.site-header.menu-open .header-search input::placeholder {
  color: var(--stone-500);
}

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

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.filter-panel button:hover {
  transform: translateY(-1px);
  background: var(--amber-dark);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28);
}

.header-search button {
  padding: 8px 12px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-open .menu-toggle {
  background: var(--stone-100);
}

.site-header.is-scrolled .menu-toggle span,
.site-header.menu-open .menu-toggle span {
  background: var(--stone-800);
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-search {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--stone-200);
  border-radius: 18px;
  background: var(--stone-100);
}

.mobile-search button {
  padding: 10px 16px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 14px;
  color: var(--stone-700);
  font-weight: 800;
}

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

.hero {
  position: relative;
  height: min(820px, 82vh);
  min-height: 620px;
  overflow: hidden;
  background: var(--stone-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 1s ease;
}

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

.hero-image,
.hero-image img,
.hero-layer {
  position: absolute;
  inset: 0;
}

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

.hero-layer {
  background:
    radial-gradient(circle at 20% 34%, rgba(245, 158, 11, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.64) 42%, rgba(12, 10, 9, 0.22) 100%),
    linear-gradient(0deg, rgba(12, 10, 9, 0.9) 0%, rgba(12, 10, 9, 0.08) 56%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 150px 0 96px;
  color: var(--white);
}

.hero-kicker,
.section-head p,
.page-hero p,
.ranking-copy p {
  margin: 0 0 12px;
  color: #fbbf24;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 6vw, 64px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.hero-content h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.38);
}

.hero-badges,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-badges {
  margin: 22px 0 0;
}

.hero-badges span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.hero-badges span:first-child,
.detail-meta span:first-child {
  background: var(--amber);
}

.hero-summary {
  width: min(680px, 100%);
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}

.hero-actions,
.quick-links,
.detail-card .tag-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

.btn,
.quick-links a,
.section-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.quick-links a:hover,
.section-head a:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.32);
}

.btn-soft {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 72px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.home-search-panel {
  position: relative;
  z-index: 8;
  margin-top: -42px;
}

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

.compact-inner {
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
}

.big-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(214, 211, 209, 0.78);
  border-radius: 22px;
  background: var(--white);
}

.big-search input {
  padding: 12px 16px;
  color: var(--stone-800);
}

.big-search button {
  padding: 12px 22px;
}

.quick-links {
  margin-top: 14px;
}

.quick-links a {
  min-height: 36px;
  padding: 8px 14px;
  color: var(--stone-700);
  background: var(--stone-100);
}

.quick-links a:hover {
  color: var(--amber-dark);
  background: #fff7ed;
}

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

.section-block.no-top-space {
  padding-top: 22px;
}

.alt-block {
  background: linear-gradient(180deg, rgba(245, 245, 244, 0.86), rgba(255, 255, 255, 0));
}

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

.section-head h2,
.page-hero h1,
.ranking-copy h2 {
  margin: 0;
  color: var(--stone-800);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-head a {
  flex: 0 0 auto;
  color: var(--amber-dark);
  background: #fff7ed;
}

.movie-grid,
.feature-grid,
.category-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(41, 37, 36, 0.18);
}

.movie-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--stone-900);
}

.movie-card-large .movie-thumb {
  aspect-ratio: 16 / 9;
}

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

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

.thumb-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(12, 10, 9, 0.78) 100%);
}

.type-badge,
.rank-mark {
  position: absolute;
  top: 12px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
}

.type-badge {
  right: 12px;
  padding: 8px 10px;
  background: rgba(12, 10, 9, 0.56);
  backdrop-filter: blur(12px);
}

.rank-mark {
  left: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--amber);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.32);
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.8);
  border-radius: 50%;
  color: var(--white);
  background: rgba(245, 158, 11, 0.94);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.36);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

.movie-body {
  padding: 16px;
}

.movie-meta {
  color: var(--stone-500);
  font-size: 12px;
  font-weight: 800;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--stone-300);
}

.movie-body h3 {
  margin: 9px 0 8px;
  color: var(--stone-800);
  font-size: 18px;
  line-height: 1.32;
  font-weight: 900;
}

.movie-card-large .movie-body h3 {
  font-size: 22px;
}

.movie-body h3 a:hover {
  color: var(--amber-dark);
}

.movie-body p {
  min-height: 44px;
  margin: 0;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.6;
}

.tag-row {
  margin-top: 14px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--amber-dark);
  background: #fff7ed;
  font-size: 12px;
  font-weight: 800;
}

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 26px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--stone-900);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-tile img,
.category-glow {
  position: absolute;
  inset: 0;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.5s ease;
}

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

.category-glow {
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.42), transparent 32%),
    linear-gradient(180deg, transparent 0%, rgba(12, 10, 9, 0.88) 86%);
}

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
}

.category-tile em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.6;
}

.ranking-section {
  color: var(--white);
  background:
    radial-gradient(circle at 16% 20%, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(135deg, #1c1917, #0c0a09);
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.6fr);
  gap: 36px;
  align-items: start;
}

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

.ranking-copy span {
  display: block;
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px 66px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.rank-row span {
  color: #fbbf24;
  font-weight: 950;
  font-size: 20px;
}

.rank-row img {
  width: 66px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

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

.rank-row em {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  font-size: 12px;
}

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

.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--stone-500);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--amber-dark);
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(34px, 6vw, 76px);
  color: var(--stone-800);
  background:
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.18), transparent 26%),
    linear-gradient(135deg, #ffffff, #f5f5f4);
  box-shadow: var(--shadow);
}

.channel-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.3), transparent 28%),
    linear-gradient(135deg, #292524, #0c0a09);
}

.channel-hero h1 {
  color: var(--white);
}

.page-hero span {
  display: block;
  max-width: 780px;
  margin-top: 16px;
  color: var(--stone-600);
  font-size: 18px;
  line-height: 1.8;
}

.channel-hero span {
  color: rgba(255, 255, 255, 0.75);
}

.filter-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 190px auto;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  background: var(--stone-100);
  color: var(--stone-800);
}

.filter-panel button {
  min-height: 46px;
  padding: 0 18px;
}

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

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

.rank-wide-row {
  display: grid;
  grid-template-columns: 58px 116px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-wide-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(41, 37, 36, 0.16);
}

.rank-wide-row > span {
  color: var(--amber-dark);
  font-size: 24px;
  font-weight: 950;
}

.rank-wide-row img {
  width: 116px;
  height: 74px;
  border-radius: 16px;
  object-fit: cover;
}

.rank-wide-row strong {
  display: block;
  color: var(--stone-800);
  font-size: 18px;
  font-weight: 950;
}

.rank-wide-row em,
.rank-wide-row p {
  display: block;
  margin: 5px 0 0;
  color: var(--stone-500);
  font-style: normal;
  line-height: 1.55;
}

.rank-wide-row p {
  color: var(--stone-600);
}

.rank-side-grid {
  position: sticky;
  top: 96px;
  padding: 18px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.rank-side-grid h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 950;
}

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

.detail-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-primary {
  display: grid;
  gap: 22px;
}

.watch-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000000;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-strong);
}

.watch-video,
.watch-cover,
.watch-cover img,
.watch-shade {
  position: absolute;
  inset: 0;
}

.watch-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.watch-cover {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  color: var(--white);
  background: #000000;
  overflow: hidden;
}

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

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

.watch-shade {
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.78));
}

.watch-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: var(--white);
  background: var(--amber);
  box-shadow: 0 22px 55px rgba(245, 158, 11, 0.42);
  font-size: 30px;
}

.watch-cover strong {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: var(--white);
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.14;
  font-weight: 950;
  text-align: left;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.46);
}

.detail-card,
.poster-panel,
.aside-list,
.article-panel {
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-card {
  padding: clamp(22px, 4vw, 34px);
}

.detail-card h1 {
  margin: 0 0 16px;
  color: var(--stone-800);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-meta span {
  color: var(--stone-700);
  background: var(--stone-100);
}

.detail-meta span:first-child {
  color: var(--white);
}

.one-line {
  margin: 20px 0 0;
  color: var(--stone-700);
  font-size: 19px;
  line-height: 1.78;
  font-weight: 700;
}

.detail-card h2,
.article-panel h2 {
  margin: 28px 0 12px;
  color: var(--stone-800);
  font-size: 24px;
  font-weight: 950;
}

.detail-card p,
.article-panel p {
  color: var(--stone-700);
  font-size: 16px;
  line-height: 1.95;
}

.detail-tags {
  margin-top: 18px;
}

.detail-aside {
  display: grid;
  gap: 20px;
}

.poster-panel {
  overflow: hidden;
  padding-bottom: 22px;
}

.poster-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.poster-panel h2,
.poster-panel p,
.poster-panel .btn {
  margin-left: 18px;
  margin-right: 18px;
}

.poster-panel h2 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 950;
}

.poster-panel p {
  color: var(--stone-600);
  line-height: 1.72;
}

.poster-panel .btn {
  margin-top: 10px;
}

.aside-list {
  padding: 18px;
}

.aside-list h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 950;
}

.aside-list a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.aside-list a:hover {
  background: var(--stone-100);
}

.aside-list img {
  grid-row: span 2;
  width: 72px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.aside-list span {
  overflow: hidden;
  color: var(--stone-800);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aside-list em {
  color: var(--stone-500);
  font-style: normal;
  font-size: 12px;
}

.related-block {
  padding-top: 52px;
}

.text-page {
  min-height: 68vh;
}

.article-panel {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto 80px;
  padding: clamp(24px, 4vw, 42px);
}

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

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 36px;
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) 1fr 1fr;
  gap: 34px;
}

.footer-logo .brand-text {
  color: var(--white);
}

.footer-brand p {
  max-width: 470px;
  color: var(--stone-300);
  line-height: 1.8;
}

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

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

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--stone-500);
  font-size: 14px;
}

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

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

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

  .site-header.menu-open .mobile-panel {
    display: block;
  }

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

  .feature-grid,
  .ranking-layout,
  .rank-page-layout,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .rank-side-grid {
    position: static;
  }
}

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

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

  .hero {
    min-height: 660px;
    height: 84vh;
  }

  .hero-content {
    padding: 118px 0 92px;
  }

  .hero-dots {
    right: auto;
    left: 16px;
    bottom: 42px;
  }

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

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

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

  .movie-grid,
  .feature-grid,
  .category-grid,
  .wide-grid,
  .ranking-list {
    grid-template-columns: 1fr;
  }

  .rank-wide-row {
    grid-template-columns: 42px 88px 1fr;
    gap: 12px;
  }

  .rank-wide-row img {
    width: 88px;
    height: 62px;
  }

  .rank-wide-row p {
    display: none;
  }

  .detail-main {
    padding-top: 86px;
  }

  .watch-box {
    border-radius: 20px;
  }

  .watch-play {
    width: 66px;
    height: 66px;
    font-size: 24px;
  }

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

@media (max-width: 480px) {
  .section-inner,
  .breadcrumb,
  .page-hero,
  .filter-panel,
  .detail-grid,
  .article-panel,
  .header-inner,
  .mobile-panel,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  .hero-content {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions,
  .quick-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .quick-links a {
    width: 100%;
  }

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