:root {
  --red: #ef4444;
  --orange: #f97316;
  --amber: #f59e0b;
  --yellow: #facc15;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --green: #22c55e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--gray-50), #ffffff 46%, #ffffff);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

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

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

.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.28);
  transition: transform 0.3s ease;
}

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

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

.brand-title {
  font-size: clamp(18px, 2vw, 25px);
  background: linear-gradient(90deg, #dc2626, #ea580c);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-slogan {
  margin-top: 5px;
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 700;
  color: var(--gray-700);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #d97706;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-search {
  position: relative;
  display: flex;
  width: min(260px, 28vw);
}

.header-search input,
.mobile-nav input,
.local-filter input,
.big-search input,
.search-toolbar select {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: #ffffff;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  padding: 11px 42px 11px 18px;
}

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

.header-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  color: var(--gray-500);
  background: transparent;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
  color: var(--gray-800);
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid var(--gray-200);
}

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

.mobile-nav a,
.mobile-nav button {
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 0;
  color: var(--gray-700);
  font-weight: 700;
}

.mobile-nav form {
  display: flex;
  gap: 10px;
}

.mobile-nav input {
  padding: 12px 14px;
}

.mobile-nav button {
  background: linear-gradient(90deg, var(--amber), var(--yellow));
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide {
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade,
.detail-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(245, 158, 11, 0.4), transparent 32%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.72) 46%, rgba(17, 24, 39, 0.42)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.74), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.58fr);
  align-items: center;
  gap: 42px;
  padding: 66px 0 72px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.88);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.24);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 800px;
  margin: 24px 0 18px;
  color: #ffffff;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.85;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.hero-actions,
.center-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-btn,
.ghost-btn,
.ghost-light-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber), var(--yellow));
  box-shadow: 0 18px 30px rgba(245, 158, 11, 0.28);
}

.primary-btn:hover,
.ghost-btn:hover,
.ghost-light-btn:hover {
  transform: translateY(-2px);
}

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

.ghost-light-btn {
  color: #b45309;
  border: 1px solid #fcd34d;
  background: #fffbeb;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.03);
}

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

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 36px;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.home-section,
.catalog-section,
.detail-section {
  padding: 56px 0 0;
}

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

.section-heading > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.section-heading h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
}

.section-heading p {
  grid-column: 2;
  margin: 0;
  color: var(--gray-500);
  line-height: 1.7;
}

.section-kicker {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 22px rgba(239, 68, 68, 0.22);
}

.featured-card {
  position: relative;
  display: block;
  height: min(520px, 70vh);
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--gray-900);
}

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

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

.featured-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.34) 54%, transparent);
}

.featured-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 12px;
  padding: 34px;
  color: #ffffff;
}

.featured-content em,
.featured-content i {
  width: fit-content;
  font-style: normal;
  font-weight: 800;
}

.featured-content em {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--amber);
}

.featured-content strong {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
}

.featured-content span {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

.featured-content i {
  display: inline-flex;
  margin-top: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  background: #ffffff;
  color: #d97706;
}

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

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

.movie-card,
.list-card,
.category-card,
.category-overview-card,
.ranking-box,
.detail-article,
.detail-side,
.player-frame {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.movie-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster,
.list-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card-compact .movie-poster img {
  aspect-ratio: 2 / 3;
}

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

.duration {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.9);
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-title {
  display: block;
  color: var(--gray-800);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-title:hover {
  color: #d97706;
}

.movie-card-body p,
.list-content p {
  margin: 10px 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 12px;
}

.movie-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.list-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.list-content {
  padding: 20px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
}

.ranking-box {
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 22px;
}

.ranking-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ranking-title h2 {
  margin: 0;
  font-size: 24px;
}

.ranking-title a {
  color: #d97706;
  font-weight: 800;
}

.ranking-list,
.ranking-page-list {
  display: grid;
  gap: 12px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--gray-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  transform: translateX(3px);
  background: #fff7ed;
}

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

.rank-item img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.rank-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy em,
.rank-views {
  color: var(--gray-500);
  font-style: normal;
  font-size: 12px;
}

.rank-views {
  font-weight: 800;
}

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

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

.category-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fff7ed);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -50px auto;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
}

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

.category-card span,
.category-overview-copy span {
  font-size: 36px;
}

.category-card strong,
.category-overview-copy h2 {
  color: var(--gray-800);
  font-size: 20px;
  font-weight: 900;
}

.category-card em,
.category-overview-copy p {
  color: var(--gray-600);
  font-style: normal;
  line-height: 1.65;
  font-size: 14px;
}

.center-actions {
  justify-content: center;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--yellow));
}

.page-hero {
  padding: 60px 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -100px -100px auto auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.red-hero {
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.search-hero {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

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

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

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 18px;
}

.page-icon {
  display: inline-block;
  font-size: 42px;
  margin-bottom: 12px;
}

.local-filter {
  margin-top: 24px;
  max-width: 520px;
}

.local-filter input {
  padding: 14px 18px;
}

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

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.pagination:last-child {
  margin: 28px 0 0;
}

.pagination a {
  min-width: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  background: #ffffff;
  color: var(--gray-700);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  font-weight: 800;
}

.pagination a.is-current,
.pagination a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber), var(--yellow));
}

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

.category-overview-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 150px;
  background: var(--gray-900);
}

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

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

.category-overview-copy h2 {
  margin: 8px 0 6px;
}

.big-search {
  position: relative;
  display: flex;
  max-width: 680px;
  margin-top: 28px;
}

.big-search input {
  padding: 18px 132px 18px 22px;
  font-size: 18px;
}

.big-search button {
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber), var(--yellow));
  font-weight: 900;
  cursor: pointer;
}

.search-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.search-toolbar strong {
  font-size: 22px;
}

.search-toolbar select {
  width: auto;
  min-width: 150px;
  padding: 10px 14px;
}

.detail-hero {
  min-height: 520px;
  background: var(--gray-900);
}

.detail-top {
  position: relative;
  z-index: 2;
  padding: 58px 0 64px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

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

.detail-copy h1 {
  margin: 22px 0 14px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
}

.detail-copy p {
  max-width: 820px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.85;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

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

.player-frame {
  position: relative;
  overflow: hidden;
  background: #050505;
  aspect-ratio: 16 / 9;
}

.player-frame video,
.player-cover,
.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-frame video {
  object-fit: contain;
  background: #000000;
}

.player-cover {
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.72;
}

.player-glass {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24), rgba(0, 0, 0, 0.36));
}

.player-glass i,
.player-start {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.92);
  box-shadow: 0 18px 35px rgba(245, 158, 11, 0.3);
  font-style: normal;
  font-size: 30px;
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  border: 0;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.player-frame.is-playing .player-cover,
.player-frame.is-playing .player-start {
  opacity: 0;
  visibility: hidden;
}

.player-error {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: min(90%, 520px);
  padding: 12px 16px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.88);
  display: none;
}

.player-error.is-visible {
  display: block;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}

.detail-article,
.detail-side {
  padding: 28px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-article p {
  margin: 0 0 26px;
  color: var(--gray-700);
  line-height: 1.95;
  text-align: justify;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px 12px;
  margin: 0;
}

.detail-side dt {
  color: var(--gray-500);
  font-weight: 700;
}

.detail-side dd {
  margin: 0;
  color: var(--gray-800);
  font-weight: 800;
}

.detail-side a {
  color: #d97706;
}

.site-footer {
  margin-top: 70px;
  padding: 46px 0 0;
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100), #ffffff);
  border-top: 1px solid var(--gray-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-brand {
  margin-bottom: 14px;
  font-size: 22px;
  background: linear-gradient(90deg, #dc2626, #ea580c);
  -webkit-background-clip: text;
  color: transparent;
}

.site-footer p {
  max-width: 420px;
  color: var(--gray-600);
  line-height: 1.75;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

.footer-links a {
  color: var(--gray-600);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 20px;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
  font-size: 13px;
}

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

@media (max-width: 1180px) {
  .movie-grid,
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .split-section,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .ranking-box {
    position: static;
  }
}

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

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero,
  .hero-track,
  .hero-slide,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 54px 0 92px;
  }

  .hero-poster {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-arrow {
    display: none;
  }

  .category-grid,
  .category-overview-grid,
  .ranking-page-list,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .header-inner {
    height: 68px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .brand-slogan {
    display: none;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 36px;
  }

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

  .movie-grid,
  .catalog-grid,
  .poster-grid,
  .category-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

  .movie-title {
    font-size: 16px;
  }

  .movie-card-body p,
  .movie-meta,
  .tag-row {
    display: none;
  }

  .list-card {
    grid-template-columns: 116px 1fr;
  }

  .list-content {
    padding: 14px;
  }

  .list-content p {
    -webkit-line-clamp: 2;
  }

  .rank-item {
    grid-template-columns: 30px 52px 1fr;
  }

  .rank-views {
    display: none;
  }

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

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

  .detail-copy h1 {
    font-size: 34px;
  }

  .big-search input {
    padding-right: 110px;
  }

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

  .search-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-toolbar select {
    width: 100%;
  }

  .featured-card {
    min-height: 320px;
  }

  .featured-content {
    padding: 24px;
  }

  .category-card {
    min-height: 138px;
    padding: 18px;
  }

  .category-card span,
  .category-overview-copy span {
    font-size: 28px;
  }
}
