/*
  亚洲高清视频 - 静态电影网站样式
  视觉参考上传素材中的琥珀 / 橙色渐变、浅色背景、卡片阴影、圆角、Hero 轮播与响应式布局。
*/

:root {
  --color-amber-50: #fffbeb;
  --color-amber-100: #fef3c7;
  --color-amber-500: #f59e0b;
  --color-amber-600: #d97706;
  --color-amber-700: #b45309;
  --color-orange-600: #ea580c;
  --color-orange-700: #c2410c;
  --color-stone-50: #fafaf9;
  --color-stone-100: #f5f5f4;
  --color-stone-200: #e7e5e4;
  --color-stone-300: #d6d3d1;
  --color-stone-500: #78716c;
  --color-stone-600: #57534e;
  --color-stone-700: #44403c;
  --color-stone-800: #292524;
  --color-stone-900: #1c1917;
  --shadow-soft: 0 18px 45px rgba(28, 25, 23, 0.12);
  --shadow-card: 0 12px 30px rgba(28, 25, 23, 0.10);
  --radius-xl: 1.25rem;
  --radius-lg: 0.875rem;
  --header-height: 4rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-stone-800);
  background: var(--color-stone-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.container-custom {
  width: min(100%, 80rem);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-soft {
  background: linear-gradient(180deg, var(--color-amber-50), #ffffff);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-amber-700), var(--color-amber-600), var(--color-orange-700));
  box-shadow: 0 12px 28px rgba(120, 53, 15, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-height);
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--color-amber-700);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(120, 53, 15, 0.25);
}

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

.logo-text strong {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.logo-text small {
  color: var(--color-amber-100);
  font-size: 0.75rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.2rem;
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 0;
  height: 2px;
  content: "";
  background: #ffffff;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-search {
  display: none;
  align-items: center;
  margin-left: 0.25rem;
  padding: 0.18rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.nav-search input {
  width: 13rem;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0.42rem 0.75rem;
}

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

.nav-search button,
.mobile-search button,
.hero-search button,
.search-page-form button {
  color: #ffffff;
  background: var(--color-stone-900);
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.search-page-form button:hover {
  background: #000000;
  transform: translateY(-1px);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-left: auto;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.7rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.35rem;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__link {
  display: block;
  padding: 0.7rem 0.85rem;
  margin-top: 0.35rem;
  border-radius: 0.8rem;
  color: #ffffff;
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  background: rgba(255, 255, 255, 0.14);
}

.mobile-search {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.8rem;
  border: 0;
  border-radius: 999px;
  outline: 0;
}

.hero-carousel {
  position: relative;
  height: min(72vh, 45rem);
  min-height: 32rem;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.45), transparent 36%),
    linear-gradient(135deg, #1c1917, #78350f 52%, #111827);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-slide img.is-missing {
  display: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.15)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 52%);
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 4rem;
  transform: translateX(-50%);
  max-width: 80rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-amber-600);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: var(--color-amber-100);
}

.hero-content h1 {
  max-width: 48rem;
  margin: 0.55rem 0 1rem;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.62rem;
  color: #92400e;
  background: var(--color-amber-100);
  border: 1px solid rgba(217, 119, 6, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-content .tag {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.tag--large {
  min-height: 2rem;
  padding-left: 0.78rem;
  padding-right: 0.78rem;
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.15rem;
  border-radius: 0.8rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--color-amber-600);
  box-shadow: 0 16px 28px rgba(217, 119, 6, 0.34);
}

.btn-primary:hover {
  background: var(--color-amber-700);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(12px);
  font-size: 2rem;
  line-height: 1;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow--prev {
  left: 1rem;
}

.hero-arrow--next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 4;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.hero-dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 2rem;
  background: #ffffff;
}

.quick-panel {
  margin-top: -2.2rem;
  position: relative;
  z-index: 6;
}

.quick-panel__inner {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.quick-panel h2,
.section-head h2,
.rank-panel h2,
.detail-info h1,
.page-hero h1 {
  margin: 0;
  color: var(--color-stone-800);
  line-height: 1.15;
}

.quick-panel p,
.section-head p,
.page-hero p {
  margin: 0.35rem 0 0;
  color: var(--color-stone-600);
}

.hero-search,
.search-page-form {
  display: flex;
  gap: 0.6rem;
  width: 100%;
}

.hero-search input,
.search-page-form input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: 999px;
  outline: 0;
}

.hero-search input:focus,
.search-page-form input:focus,
.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--color-amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
}

.section-more {
  color: var(--color-amber-700);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(214, 211, 209, 0.66);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.06);
}

.video-card-hover {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(245, 158, 11, 0.42);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.85), rgba(194, 65, 12, 0.9)),
    var(--color-stone-800);
}

.movie-card__poster img,
.detail-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .movie-card__poster img {
  transform: scale(1.06);
}

.movie-card__poster img.is-missing,
.detail-poster img.is-missing {
  display: none;
}

.poster-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.poster-fallback--large {
  font-size: 7rem;
}

.movie-badge,
.movie-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.55rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.movie-badge {
  left: 0.65rem;
  top: 0.65rem;
  background: rgba(180, 83, 9, 0.88);
}

.movie-year {
  right: 0.65rem;
  top: 0.65rem;
  background: rgba(28, 25, 23, 0.68);
}

.rank-badge {
  left: 0.65rem;
  bottom: 0.65rem;
  color: var(--color-stone-900);
  background: rgba(255, 255, 255, 0.86);
}

.movie-card__body {
  padding: 0.9rem;
}

.movie-card__meta {
  display: flex;
  gap: 0.5rem;
  color: var(--color-stone-500);
  font-size: 0.78rem;
}

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

.movie-card__title {
  margin: 0.35rem 0;
  color: var(--color-stone-900);
  font-size: 1.02rem;
  line-height: 1.35;
}

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

.movie-card__desc {
  display: -webkit-box;
  min-height: 2.8rem;
  margin: 0 0 0.75rem;
  overflow: hidden;
  color: var(--color-stone-600);
  font-size: 0.88rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.two-column {
  display: grid;
  gap: 1.5rem;
}

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

.category-tile,
.category-overview-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 11rem;
  padding: 1.2rem;
  color: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.category-tile::before,
.category-overview-card::before {
  position: absolute;
  inset: -30% auto auto -10%;
  width: 12rem;
  height: 12rem;
  content: "";
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.category-tile span,
.category-tile strong,
.category-tile small,
.category-overview-card > * {
  position: relative;
  z-index: 1;
}

.category-tile span {
  font-size: 1.2rem;
  font-weight: 900;
}

.category-tile strong {
  margin-top: 0.6rem;
  font-size: 2.4rem;
  line-height: 1;
}

.category-tile small {
  display: block;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.82);
}

.category-tile--amber { background: linear-gradient(135deg, #b45309, #f59e0b); }
.category-tile--orange { background: linear-gradient(135deg, #c2410c, #fb923c); }
.category-tile--rose { background: linear-gradient(135deg, #be123c, #fb7185); }
.category-tile--violet { background: linear-gradient(135deg, #6d28d9, #a78bfa); }
.category-tile--red { background: linear-gradient(135deg, #991b1b, #ef4444); }
.category-tile--pink { background: linear-gradient(135deg, #be185d, #f472b6); }
.category-tile--yellow { background: linear-gradient(135deg, #a16207, #facc15); }
.category-tile--teal { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.category-tile--slate { background: linear-gradient(135deg, #334155, #64748b); }
.category-tile--cyan { background: linear-gradient(135deg, #0e7490, #22d3ee); }

.rank-panel {
  align-self: start;
  padding: 1.2rem;
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.rank-panel__head {
  margin-bottom: 1rem;
}

.rank-list {
  display: grid;
  gap: 0.55rem;
}

.rank-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: var(--color-amber-50);
  transform: translateX(4px);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #ffffff;
  background: var(--color-amber-600);
  border-radius: 0.65rem;
  font-weight: 900;
}

.rank-title {
  min-width: 0;
  overflow: hidden;
  color: var(--color-stone-900);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-meta {
  color: var(--color-stone-500);
  font-size: 0.78rem;
}

.page-hero,
.detail-hero {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-amber-700), var(--color-amber-600), var(--color-orange-700));
}

.page-hero .container-custom {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.page-hero .section-kicker,
.page-hero h1,
.page-hero p,
.detail-hero .eyebrow,
.detail-hero h1,
.detail-hero p,
.detail-hero dd,
.detail-hero dt,
.detail-hero a {
  color: #ffffff;
}

.page-hero h1 {
  margin-top: 0.4rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero--amber { background: linear-gradient(135deg, #92400e, #d97706, #ea580c); }
.page-hero--orange { background: linear-gradient(135deg, #9a3412, #ea580c, #fb923c); }
.page-hero--rose { background: linear-gradient(135deg, #9f1239, #e11d48, #fb7185); }
.page-hero--violet { background: linear-gradient(135deg, #4c1d95, #7c3aed, #a78bfa); }
.page-hero--red { background: linear-gradient(135deg, #7f1d1d, #dc2626, #f87171); }
.page-hero--pink { background: linear-gradient(135deg, #9d174d, #db2777, #f9a8d4); }
.page-hero--yellow { background: linear-gradient(135deg, #854d0e, #ca8a04, #facc15); }
.page-hero--teal { background: linear-gradient(135deg, #134e4a, #0d9488, #5eead4); }
.page-hero--slate { background: linear-gradient(135deg, #0f172a, #334155, #94a3b8); }
.page-hero--cyan { background: linear-gradient(135deg, #164e63, #0891b2, #67e8f9); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

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

.category-overview-card__main {
  display: block;
}

.category-overview-card__count {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.category-overview-card h2 {
  margin: 0.8rem 0 0.5rem;
  font-size: 1.7rem;
}

.category-overview-card p,
.category-overview-card li,
.category-overview-card a {
  color: rgba(255, 255, 255, 0.86);
}

.category-overview-card ul {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.06);
}

.filter-field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-stone-600);
  font-size: 0.82rem;
  font-weight: 800;
}

.filter-field input,
.filter-field select {
  width: 100%;
  padding: 0.78rem 0.85rem;
  background: var(--color-stone-50);
  border: 1px solid var(--color-stone-200);
  border-radius: 0.85rem;
  outline: 0;
}

.filter-counter {
  display: flex;
  align-items: end;
  color: var(--color-stone-600);
  font-weight: 700;
}

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

.detail-hero::before {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 28rem;
  height: 28rem;
  content: "";
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.detail-hero .container-custom {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.detail-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.detail-poster {
  position: relative;
  width: min(100%, 19rem);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f59e0b, #c2410c);
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.detail-info h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 1.08rem;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 46rem;
  margin: 1.2rem 0;
}

.detail-meta div {
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.detail-meta dt {
  margin-bottom: 0.15rem;
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: 0.78rem;
  font-weight: 800;
}

.detail-meta dd {
  margin: 0;
  font-weight: 900;
}

.tag-row--wrap {
  margin-bottom: 1.3rem;
}

.player-frame {
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.4rem;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(217, 119, 6, 0.55), transparent 35%),
    rgba(0, 0, 0, 0.38);
  border: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-frame.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  padding-left: 0.2rem;
  color: var(--color-amber-700);
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
  font-size: 2rem;
}

.player-status {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  margin: 0;
  padding: 0.35rem 0.6rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  font-size: 0.82rem;
}

.detail-content-grid {
  display: grid;
  gap: 1.2rem;
}

.detail-article,
.detail-side-card {
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.06);
}

.detail-article {
  padding: 1.4rem;
}

.detail-article h2,
.detail-side-card h2 {
  margin: 0 0 0.8rem;
  color: var(--color-stone-900);
}

.detail-article p {
  margin: 0 0 1.2rem;
  color: var(--color-stone-700);
  font-size: 1.02rem;
}

.detail-side-card {
  align-self: start;
  padding: 1.2rem;
}

.detail-side-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-side-card li {
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--color-stone-200);
}

.detail-side-card li:last-child {
  border-bottom: 0;
}

.detail-side-card a {
  color: var(--color-amber-700);
  font-weight: 800;
}

.search-page-form {
  max-width: 42rem;
  margin-top: 1.2rem;
}

.search-summary {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  color: var(--color-stone-700);
  background: #ffffff;
  border: 1px solid var(--color-stone-200);
  border-radius: 1rem;
}

.search-fallback.is-hidden {
  display: none;
}

.site-footer {
  color: var(--color-stone-200);
  background: linear-gradient(90deg, var(--color-stone-900), var(--color-stone-800), var(--color-stone-900));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  color: #ffffff;
  font-size: 1.25rem;
}

.site-footer h2 {
  margin: 0 0 0.9rem;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer p {
  max-width: 25rem;
  color: var(--color-stone-300);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: 0.45rem;
}

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

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

.footer-bottom {
  padding: 1rem;
  color: var(--color-stone-400);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

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

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

  .filter-panel {
    grid-template-columns: 1fr 11rem 11rem auto;
    align-items: end;
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .quick-panel__inner {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.9fr);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .detail-layout {
    grid-template-columns: 19rem minmax(0, 1fr);
  }

  .detail-content-grid {
    grid-template-columns: minmax(0, 1fr) 20rem;
  }

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

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .desktop-nav,
  .nav-search {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

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

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

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

  .two-column {
    grid-template-columns: minmax(0, 1fr) 24rem;
  }

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

@media (max-width: 760px) {
  .hero-carousel {
    height: 70vh;
    min-height: 34rem;
  }

  .hero-content {
    bottom: 3.7rem;
  }

  .hero-arrow {
    display: none;
  }

  .hero-search,
  .search-page-form {
    flex-direction: column;
  }

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