:root {
  --bg: #fff7ed;
  --page: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --soft: #fffbeb;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --pink: #ec4899;
  --rose: #fb7185;
  --slate: #0f172a;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 146, 60, 0.20), transparent 32rem),
    linear-gradient(180deg, #fffaf5 0%, #ffffff 46%, #fff7ed 100%);
  -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(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(251, 146, 60, 0.24);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-icon,
.footer-brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 12px 25px rgba(249, 115, 22, 0.35);
}

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

.brand-text strong {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

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

.nav-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-search input,
.mobile-nav input,
.quick-search input,
.search-panel input,
.filter-panel input,
.filter-panel select {
  border: 1px solid rgba(251, 146, 60, 0.35);
  border-radius: 999px;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 230px;
  padding: 11px 16px;
}

.header-search input:focus,
.mobile-nav input:focus,
.quick-search input:focus,
.search-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.header-search button,
.quick-search button,
.search-panel button,
.mobile-nav button,
.filter-reset {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

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

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  cursor: pointer;
}

.mobile-nav {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px 18px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(251, 146, 60, 0.22);
}

.mobile-nav.open {
  display: grid;
}

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

.mobile-nav form {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

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

.mobile-nav button {
  padding: 0 18px;
}

.hero-carousel {
  position: relative;
  height: 560px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 44%, rgba(0, 0, 0, 0.20) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.24) 100%);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  padding-top: 22px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.52);
}

.hero-summary {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
  background: #ffedd5;
}

.tag-row--hero {
  margin-top: 18px;
}

.tag-row--hero span,
.detail-tags span {
  color: #ffffff;
  background: rgba(249, 115, 22, 0.78);
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.35);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 50%;
  color: #ffffff;
  font-size: 2.4rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.hero-arrow--prev {
  left: 24px;
}

.hero-arrow--next {
  right: 24px;
}

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
  width: 34px;
  background: #ffffff;
}

.quick-search-section {
  margin-top: -34px;
  position: relative;
  z-index: 10;
}

.quick-search,
.search-panel,
.filter-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quick-search label {
  color: var(--orange);
  font-weight: 950;
  white-space: nowrap;
}

.quick-search input,
.search-panel input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
}

.quick-search button,
.search-panel button {
  padding: 14px 24px;
}

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

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

.section-heading.compact {
  align-items: center;
}

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.section-heading a,
.text-link {
  color: var(--orange);
  font-weight: 900;
}

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

.movie-grid--mixed .movie-card--large {
  grid-column: span 2;
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(254, 215, 170, 0.9);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #fdba74, #f472b6);
}

.movie-card--large .movie-poster {
  aspect-ratio: 16 / 8.8;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.74) 100%);
  opacity: 0.8;
}

.movie-category,
.movie-year {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
}

.movie-category {
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.movie-year {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.movie-info {
  padding: 16px 16px 18px;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 8px;
  overflow: hidden;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--orange);
}

.movie-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.movie-line {
  display: -webkit-box;
  min-height: 3em;
  margin: 0 0 12px;
  overflow: hidden;
  color: #4b5563;
  font-size: 0.93rem;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.feature-band {
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.9), rgba(252, 231, 243, 0.92));
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
}

.ranking-list {
  display: grid;
  gap: 13px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 48px 72px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid rgba(254, 215, 170, 0.9);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  border-color: rgba(249, 115, 22, 0.5);
}

.rank-number {
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 950;
  text-align: center;
}

.ranking-row img {
  width: 72px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
}

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

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

.rank-text strong {
  color: #111827;
  font-weight: 900;
}

.rank-text em {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: normal;
}

.rank-hot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

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

.category-card {
  position: relative;
  min-height: 126px;
  overflow: hidden;
  border-radius: 20px;
  color: #ffffff;
  background: #111827;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.4s ease;
}

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

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

.category-card span,
.category-card strong {
  position: absolute;
  z-index: 2;
  left: 16px;
}

.category-card span {
  bottom: 38px;
  font-size: 1.05rem;
  font-weight: 950;
}

.category-card strong {
  bottom: 15px;
  color: #fed7aa;
  font-size: 0.86rem;
}

.page-main {
  padding: 38px 0 72px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 46px;
  border-radius: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 146, 60, 0.9), transparent 34%),
    linear-gradient(135deg, #111827, #7c2d12 48%, #831843);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #9a3412;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--orange);
}

.breadcrumb--dark {
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb--dark a {
  color: #fed7aa;
}

.filter-panel {
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-item {
  display: grid;
  min-width: 160px;
  gap: 7px;
  flex: 1;
}

.filter-keyword {
  flex: 2;
  min-width: 260px;
}

.filter-item label {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 950;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 13px 15px;
}

.filter-reset {
  align-self: end;
  min-height: 48px;
  padding: 0 20px;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(254, 215, 170, 0.9);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.category-cover {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

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

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

.category-cover span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  font-size: 1.75rem;
  font-weight: 950;
}

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

.category-overview-body h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-weight: 950;
}

.category-overview-body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.category-overview-body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.category-overview-body li a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border-radius: 14px;
  background: #fff7ed;
  color: #111827;
  font-weight: 800;
}

.category-overview-body li span {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 600;
}

.ranking-board {
  margin-bottom: 28px;
}

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

.search-panel {
  margin-bottom: 34px;
}

.static-content,
.detail-article,
.detail-side {
  border: 1px solid rgba(254, 215, 170, 0.9);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.static-content {
  padding: 34px;
}

.static-content h2,
.detail-article h2,
.detail-side h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 1.45rem;
  font-weight: 950;
}

.static-content p,
.detail-article p {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.9;
}

.detail-main {
  padding-bottom: 72px;
}

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

.detail-bg {
  filter: blur(2px) saturate(1.08);
  transform: scale(1.03);
}

.detail-bg-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.32)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.20));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 34px 0 72px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding-top: 36px;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  background: #111827;
}

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

.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.8;
}

.detail-tags {
  margin: 22px 0 30px;
}

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

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

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.34), transparent 26%),
    rgba(0, 0, 0, 0.36);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: var(--orange);
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.player-overlay strong {
  font-size: 1.35rem;
  font-weight: 950;
}

.player-overlay em {
  max-width: min(680px, 80%);
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  text-align: center;
}

.player-message {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  color: #fed7aa;
  font-size: 0.95rem;
}

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

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

.detail-side dl {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 13px 16px;
  margin: 0;
}

.detail-side dt {
  color: #9a3412;
  font-weight: 950;
}

.detail-side dd {
  margin: 0;
  color: #374151;
  line-height: 1.6;
}

.detail-side a {
  color: var(--orange);
  font-weight: 900;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, #1e293b, #0f172a 50%, #1f2937);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
  padding: 48px 0 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.site-footer p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 15px;
  color: #fed7aa;
  font-size: 1.05rem;
}

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

.site-footer a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: #94a3b8;
  text-align: center;
}

[hidden],
.is-hidden {
  display: none !important;
}

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

  .header-search input {
    width: 180px;
  }

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

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

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

@media (max-width: 820px) {
  .header-inner {
    min-height: 68px;
  }

  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand-text strong {
    font-size: 1.22rem;
  }

  .brand-text small {
    display: none;
  }

  .hero-carousel {
    height: 620px;
  }

  .hero-copy {
    padding-right: 46px;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .hero-arrow--prev {
    left: 10px;
  }

  .hero-arrow--next {
    right: 10px;
  }

  .quick-search,
  .search-panel {
    display: grid;
  }

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

  .movie-grid,
  .page-movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .movie-grid--mixed .movie-card--large {
    grid-column: span 1;
  }

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

  .ranking-list--wide {
    grid-template-columns: 1fr;
  }

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

  .detail-layout {
    gap: 24px;
  }

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

  .page-hero {
    padding: 34px 24px;
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .hero-carousel {
    height: 650px;
  }

  .hero-copy h1,
  .detail-copy h1 {
    letter-spacing: -0.045em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

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

  .movie-grid,
  .page-movie-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .filter-keyword,
  .filter-item {
    min-width: 100%;
  }

  .filter-reset {
    width: 100%;
  }

  .ranking-row {
    grid-template-columns: 38px 58px minmax(0, 1fr);
  }

  .ranking-row img {
    width: 58px;
    height: 44px;
  }

  .rank-hot {
    display: none;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-hero-inner {
    padding-bottom: 120px;
  }

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

  .detail-article,
  .detail-side,
  .static-content {
    padding: 22px;
  }

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