:root {
  --bg: #fff7ed;
  --paper: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --yellow: #facc15;
  --shadow: 0 20px 45px rgba(124, 45, 18, 0.14);
  --soft-shadow: 0 10px 28px rgba(31, 41, 55, 0.10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 34%, #fff7ed 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(254, 215, 170, 0.75);
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(18px);
}

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

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.32);
  transition: transform 0.22s ease;
}

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

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--orange-dark), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: #fff7ed;
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #374151;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

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

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

.hero-section {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.96), rgba(245, 158, 11, 0.92) 54%, rgba(250, 204, 21, 0.82));
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(0deg, #fff7ed, rgba(255, 247, 237, 0));
}

.hero-orb {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(1px);
  animation: float 7s ease-in-out infinite;
}

.orb-one {
  left: 6%;
  top: 10%;
}

.orb-two {
  right: 8%;
  top: 18%;
  animation-delay: 1.4s;
}

.orb-three {
  left: 28%;
  bottom: 12%;
  width: 110px;
  height: 110px;
  animation-delay: 2.2s;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 28px;
  padding: 64px 0 92px;
}

.hero-slider {
  position: relative;
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 36px;
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-content h1 {
  margin: 16px 0 18px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1;
  text-shadow: 0 14px 34px rgba(124, 45, 18, 0.32);
}

.hero-content p {
  width: min(680px, 100%);
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-shadow: 0 8px 22px rgba(124, 45, 18, 0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  padding: 6px 11px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  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: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.28);
}

.hero-section .btn-primary {
  color: var(--orange-dark);
  background: #fff;
}

.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
}

.btn.full {
  width: 100%;
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 10px solid rgba(255, 255, 255, 0.42);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(124, 45, 18, 0.34);
}

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

.hero-poster:hover img {
  transform: scale(1.08);
}

.poster-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 13px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 999px;
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  left: 0;
  bottom: -4px;
  display: flex;
  gap: 9px;
}

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

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

.hero-side-panel {
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-side-panel h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.hero-category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.hero-category-list a {
  padding: 12px;
  text-align: center;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-category-list a:hover {
  transform: translateY(-2px);
  background: #fed7aa;
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.hero-search input,
.filter-search input,
.filter-selects select {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  background: #fff;
  border-radius: 999px;
}

.hero-search input {
  min-height: 44px;
  padding: 0 14px;
}

.hero-search button {
  border: 0;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.content-section {
  padding: 62px 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.18;
}

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

.section-link {
  flex: 0 0 auto;
  color: var(--orange-dark);
  font-weight: 800;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  background: var(--paper);
  border: 1px solid rgba(254, 215, 170, 0.66);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.38);
  box-shadow: 0 24px 46px rgba(124, 45, 18, 0.16);
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #fed7aa, #fde68a);
}

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

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

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.04) 56%, rgba(0, 0, 0, 0));
  opacity: 0.72;
}

.card-type {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  padding: 5px 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.card-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.card-body h2 {
  margin: 0 0 9px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.card-body h2 a:hover {
  color: var(--orange-dark);
}

.card-body p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 0.93rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  color: #6b7280;
  font-size: 0.82rem;
}

.card-meta span {
  padding: 4px 8px;
  background: #f9fafb;
  border-radius: 999px;
}

.card-tags {
  margin-top: 12px;
}

.category-band,
.carousel-band {
  padding: 62px 0;
  background: linear-gradient(90deg, #ffedd5, #fff7ed, #fef3c7);
}

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

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

.category-tile,
.category-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px;
  color: #fff;
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-tile strong,
.category-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.category-tile span,
.category-card p,
.category-card span {
  color: rgba(255, 255, 255, 0.9);
}

.category-card {
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.category-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
}

.category-card p {
  margin: 0;
}

.purple {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.green {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.red {
  background: linear-gradient(135deg, #ef4444, #f43f5e);
}

.orange {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.indigo {
  background: linear-gradient(135deg, #6366f1, #a855f7);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 62px 0;
}

.rank-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(254, 215, 170, 0.68);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

.rank-panel h2,
.rank-panel p {
  margin-top: 0;
}

.rank-panel p {
  color: var(--muted);
}

.rank-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.rank-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff7ed;
  border-radius: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  background: #ffedd5;
}

.rank-row span {
  color: var(--orange-dark);
  font-weight: 900;
}

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

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

.horizontal-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x proximity;
}

.horizontal-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 24px;
  background: #111827;
  box-shadow: var(--soft-shadow);
  scroll-snap-align: start;
}

.horizontal-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.horizontal-card:hover img {
  transform: scale(1.08);
  opacity: 0.66;
}

.horizontal-card span,
.horizontal-card strong,
.horizontal-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin-left: 18px;
  margin-right: 18px;
}

.horizontal-card span {
  margin-top: 210px;
  width: fit-content;
  padding: 5px 10px;
  color: #fff;
  background: rgba(249, 115, 22, 0.9);
  border-radius: 999px;
  font-weight: 800;
}

.horizontal-card strong {
  margin-top: 12px;
  color: #fff;
  font-size: 1.25rem;
}

.horizontal-card small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  position: relative;
  padding: 86px 0 76px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  overflow: hidden;
}

.page-hero.soft {
  color: var(--ink);
  background: linear-gradient(135deg, #fff7ed, #ffedd5 45%, #fef3c7);
}

.page-hero.ranking-hero {
  background: linear-gradient(135deg, #111827, #7c2d12 50%, #f97316);
}

.page-hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: inherit;
  opacity: 0.82;
  font-size: 1.08rem;
}

.page-hero.soft .eyebrow {
  color: var(--orange-dark);
  background: #fff;
  border-color: var(--line);
}

.filter-panel {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: -30px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(254, 215, 170, 0.72);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.filter-search {
  position: relative;
}

.filter-search span {
  position: absolute;
  left: 16px;
  top: 50%;
  color: var(--orange-dark);
  transform: translateY(-50%);
}

.filter-search input {
  height: 48px;
  padding: 0 18px 0 42px;
}

.filter-selects {
  display: flex;
  gap: 10px;
}

.filter-selects select {
  height: 48px;
  padding: 0 36px 0 14px;
  color: #374151;
}

.filter-empty {
  grid-column: 1 / -1;
  padding: 14px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 16px;
  text-align: center;
  font-weight: 800;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.page-link {
  min-width: 42px;
  padding: 10px 14px;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
}

.page-link:hover,
.page-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-color: transparent;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: -38px;
  position: relative;
  z-index: 2;
}

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.podium-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
}

.podium-card span {
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  border-radius: 999px;
  font-weight: 900;
}

.podium-card strong {
  font-size: 1.45rem;
}

.podium-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 58px 126px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px;
}

.ranking-item img {
  width: 126px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-number {
  color: var(--orange-dark);
  font-size: 1.15rem;
  font-weight: 900;
  text-align: center;
}

.ranking-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.ranking-item p {
  margin: 0 0 6px;
  color: var(--muted);
}

.ranking-item small {
  color: #9a3412;
  font-weight: 700;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.08);
}

.detail-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  min-height: 560px;
  padding: 64px 0;
}

.detail-cover {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.38);
}

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

.detail-info h1 {
  margin: 18px 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.05;
}

.detail-line {
  max-width: 860px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

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

.detail-meta span {
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

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

.player-section {
  margin-top: -44px;
  position: relative;
  z-index: 4;
}

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 8px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.28));
  cursor: pointer;
  transition: opacity 0.22s ease, background 0.22s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 2.2rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  padding: 54px 0 10px;
}

.detail-main-content,
.detail-side {
  background: #fff;
  border: 1px solid rgba(254, 215, 170, 0.68);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

.detail-main-content {
  padding: 30px;
}

.detail-main-content h2,
.detail-side h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.detail-main-content p {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 1.02rem;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 6px;
}

.inline-links a,
.inline-links span {
  padding: 8px 12px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 999px;
  font-weight: 800;
}

.detail-side {
  align-self: start;
  padding: 24px;
}

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

.detail-side dt {
  color: var(--muted);
}

.detail-side dd {
  margin: 0;
  color: #111827;
  font-weight: 800;
}

.site-footer {
  margin-top: 40px;
  color: #d1d5db;
  background: linear-gradient(180deg, #111827, #1f2937);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.footer-grid p {
  max-width: 470px;
  margin: 14px 0 0;
  color: #9ca3af;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 8px 0;
  color: #9ca3af;
}

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

.footer-brand {
  color: #fff;
}

.footer-bottom {
  padding: 18px 16px;
  color: #9ca3af;
  border-top: 1px solid #374151;
  text-align: center;
  font-size: 0.92rem;
}

[hidden] {
  display: none !important;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

@media (max-width: 1080px) {
  .hero-shell,
  .hero-slide,
  .split-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-side-panel,
  .rank-panel {
    position: relative;
    top: auto;
  }

  .hero-slider {
    min-height: 760px;
  }

  .hero-slide {
    align-content: center;
  }

  .hero-poster {
    width: min(330px, 100%);
  }

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

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

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    min-height: 880px;
  }

  .hero-shell {
    padding-top: 44px;
  }

  .hero-slider {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-content h1 {
    font-size: clamp(2.4rem, 14vw, 4.2rem);
  }

  .hero-controls {
    bottom: 6px;
  }

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

  .filter-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .movie-grid,
  .movie-grid.two-col,
  .category-grid,
  .category-card-grid,
  .home-categories,
  .podium-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-head {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .detail-cover {
    width: min(280px, 100%);
  }

  .ranking-item {
    grid-template-columns: 44px 96px minmax(0, 1fr);
  }

  .ranking-item img {
    width: 96px;
    height: 64px;
  }
}

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

  .header-inner {
    height: 64px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-section {
    min-height: 950px;
  }

  .hero-slider {
    min-height: 780px;
  }

  .hero-side-panel {
    padding: 18px;
  }

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

  .movie-grid,
  .movie-grid.two-col,
  .category-grid,
  .category-card-grid,
  .home-categories,
  .podium-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-cover {
    aspect-ratio: 16 / 9;
  }

  .filter-selects {
    grid-template-columns: 1fr;
  }

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

  .ranking-number {
    text-align: left;
  }

  .ranking-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .detail-main-content,
  .detail-side {
    padding: 20px;
  }

  .player-card {
    border-width: 4px;
    border-radius: 18px;
  }
}
