:root {
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --orange: #f97316;
  --blue: #3b82f6;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #fff7ed;
  --shadow: 0 20px 60px rgba(31, 41, 55, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 30%, #f9fafb 100%);
  min-height: 100vh;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, var(--blue), #6366f1);
  box-shadow: 0 12px 26px rgba(59, 130, 246, 0.28);
}

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

.brand-text strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.brand-text em {
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
  margin-top: 3px;
}

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

.desktop-nav > a,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-dropdown > button:hover,
.desktop-nav > a.is-active {
  color: var(--amber-dark);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -22px;
  width: 230px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  display: grid;
  gap: 4px;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  font-weight: 700;
}

.dropdown-panel a:hover {
  background: #fffbeb;
  color: var(--amber-dark);
}

.nav-search {
  position: relative;
  width: 280px;
  display: flex;
  align-items: center;
}

.nav-search input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 11px 46px 11px 16px;
  outline: none;
  background: #ffffff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-search input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.nav-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fffbeb;
  color: var(--amber-dark);
  font-size: 22px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 16px;
  background: #ffffff;
}

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

.mobile-panel form {
  display: flex;
  gap: 8px;
  margin: 0 auto 14px;
  max-width: 760px;
}

.mobile-panel input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 12px 16px;
}

.mobile-panel button {
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  color: #ffffff;
  padding: 0 18px;
  font-weight: 800;
}

.mobile-panel nav,
.mobile-cats {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-panel a,
.mobile-cats a {
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff7ed;
  color: #92400e;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: linear-gradient(135deg, #d97706, #f97316);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 88px;
}

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

.hero::before,
.hero-image-layer,
.detail-hero-layer {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 30%), linear-gradient(135deg, rgba(180,83,9,0.95), rgba(249,115,22,0.82)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, #fff7ed);
}

.hero-content,
.hero-side-list {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: #ffffff;
  max-width: 760px;
}

.eyebrow,
.page-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.08em;
  text-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.hero h2 {
  font-size: clamp(32px, 5vw, 58px);
}

.hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: #fffbeb;
  font-size: 19px;
  line-height: 1.8;
}

.hero-tags,
.card-tags,
.meta-pills,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.meta-pills span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
}

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

.primary-action,
.ghost-action,
.side-feature a,
.section-heading a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-action {
  background: #ffffff;
  color: var(--amber-dark);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.ghost-action {
  color: #ffffff;
  background: rgba(146, 64, 14, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px);
}

.primary-action:hover,
.ghost-action:hover,
.side-feature a:hover,
.section-heading a:hover {
  transform: translateY(-2px);
}

.hero-side-list {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

.hero-side-list > strong {
  display: block;
  margin: 4px 4px 14px;
  font-size: 18px;
}

.hero-side-list a {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  transition: background 0.2s ease;
}

.hero-side-list a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-side-list span,
.category-preview span,
.rank-cover,
.movie-cover,
.poster-panel {
  background-image: linear-gradient(135deg, rgba(30, 41, 59, 0.16), rgba(245, 158, 11, 0.22)), var(--cover-image);
  background-size: cover;
  background-position: center;
}

.hero-side-list span {
  width: 82px;
  height: 54px;
  border-radius: 14px;
}

.hero-side-list strong,
.hero-side-list em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-side-list em {
  font-style: normal;
  color: #fed7aa;
  font-size: 13px;
}

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

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

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

.quick-panel,
.content-section,
.detail-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-panel {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-panel a {
  display: grid;
  gap: 6px;
  min-height: 110px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(245, 158, 11, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-panel a:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.16);
}

.quick-panel strong {
  color: var(--amber-dark);
  font-size: 21px;
}

.quick-panel span {
  color: var(--muted);
  line-height: 1.5;
}

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

.muted-section {
  padding: 72px 0 10px;
}

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

.section-heading span {
  color: var(--amber-dark);
  background: #fffbeb;
  border-color: #fde68a;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.05em;
}

.section-heading a {
  background: #fffbeb;
  color: var(--amber-dark);
  min-height: 44px;
}

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: grid;
  height: 100%;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.14);
  border-color: rgba(245, 158, 11, 0.36);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.movie-cover::after,
.poster-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.62));
}

.cover-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.35), transparent 26%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card-link:hover .cover-shine {
  opacity: 1;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.88);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.88);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.cover-year {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.92);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.movie-card-body {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.movie-card-body strong {
  font-size: 18px;
  line-height: 1.35;
  color: #111827;
}

.movie-card-body small,
.movie-card-body em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.movie-card-body em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags span,
.tag-cloud span {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

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

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

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

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #fff7ed);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.16);
  display: grid;
  align-content: end;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  right: -48px;
  top: -48px;
  background: rgba(245, 158, 11, 0.1);
}

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

.category-tile span {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  font-weight: 900;
  margin-bottom: 16px;
}

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

.category-tile strong {
  font-size: 20px;
}

.category-tile em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
  margin-top: 6px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.inline-heading {
  margin-bottom: 18px;
}

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

.rank-item a {
  display: grid;
  grid-template-columns: 52px 126px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item a:hover {
  transform: translateX(4px);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12);
}

.rank-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  font-weight: 900;
}

.rank-cover {
  width: 126px;
  height: 78px;
  border-radius: 15px;
}

.rank-info {
  min-width: 0;
  display: grid;
  gap: 4px;
}

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

.rank-info em {
  color: var(--muted);
  font-style: normal;
}

.rank-info span {
  color: #9ca3af;
  font-size: 13px;
}

.rank-info small {
  display: flex;
  gap: 6px;
}

.rank-info small span {
  color: #92400e;
  background: #fffbeb;
  border-radius: 999px;
  padding: 3px 8px;
}

.side-feature {
  position: sticky;
  top: 104px;
  border-radius: 28px;
  padding: 30px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 30px 70px rgba(249, 115, 22, 0.28);
}

.side-feature span {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.side-feature h2 {
  font-size: 30px;
  line-height: 1.18;
  margin: 18px 0 12px;
}

.side-feature p {
  color: #fffbeb;
  line-height: 1.75;
}

.side-feature a {
  width: max-content;
  background: #ffffff;
  color: var(--amber-dark);
  margin-top: 12px;
}

.page-hero {
  min-height: 330px;
  color: #ffffff;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 15% 10%, rgba(255,255,255,0.2), transparent 25%), linear-gradient(135deg, var(--amber-dark), var(--orange));
  padding: 64px 16px;
}

.page-hero > div {
  width: min(920px, 100%);
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.07em;
}

.page-hero p {
  margin: 0 auto;
  max-width: 760px;
  color: #fffbeb;
  font-size: 18px;
  line-height: 1.8;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-bar button {
  border: 1px solid #fcd34d;
  border-radius: 999px;
  background: #ffffff;
  color: #92400e;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 800;
}

.filter-bar button.is-active {
  background: var(--amber);
  color: #ffffff;
  border-color: var(--amber);
}

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

.category-card a {
  display: grid;
  gap: 16px;
  height: 100%;
  padding: 16px;
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.category-preview span {
  display: block;
  height: 88px;
  border-radius: 16px;
}

.category-card strong {
  font-size: 22px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.full-rank .rank-item a {
  grid-template-columns: 62px 170px minmax(0, 1fr);
}

.full-rank .rank-cover {
  width: 170px;
  height: 96px;
}

.hero-search {
  position: relative;
  width: min(720px, 100%);
  margin: 28px auto 0;
}

.hero-search input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 18px 126px 18px 24px;
  box-shadow: 0 18px 45px rgba(146, 64, 14, 0.22);
  outline: none;
}

.hero-search button {
  position: absolute;
  right: 7px;
  top: 7px;
  bottom: 7px;
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  color: #ffffff;
  padding: 0 28px;
  font-weight: 900;
  cursor: pointer;
}

.empty-state {
  text-align: center;
  padding: 54px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--muted);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.detail-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.82));
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 54px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #fed7aa;
  margin-bottom: 18px;
}

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

.detail-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  margin: 18px 0;
  letter-spacing: -0.07em;
}

.detail-hero p {
  max-width: 820px;
  line-height: 1.8;
  font-size: 19px;
  color: #fffbeb;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
  padding-top: 40px;
}

.player-card,
.detail-card,
.info-panel {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.09);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.player-card {
  overflow: hidden;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(146, 64, 14, 0.55)), var(--cover-image);
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.36);
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-overlay span {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.38);
  font-size: 28px;
}

.play-overlay strong {
  font-size: 20px;
}

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

.detail-card {
  padding: 30px;
  margin-top: 24px;
}

.detail-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.detail-card h2:not(:first-child) {
  margin-top: 34px;
}

.detail-card p {
  color: #4b5563;
  line-height: 1.9;
  margin: 0 0 16px;
  font-size: 16px;
}

.detail-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.poster-panel {
  position: relative;
  min-height: 450px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-panel {
  padding: 24px;
}

.info-panel h2 {
  margin: 0 0 18px;
}

.info-panel dl {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px 16px;
  margin: 0 0 20px;
}

.info-panel dt {
  color: #9ca3af;
  font-weight: 800;
}

.info-panel dd {
  margin: 0;
  color: #374151;
}

.related-section {
  padding-top: 48px;
}

.site-footer {
  margin-top: 86px;
  color: #d1d5db;
  background: #111827;
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 34px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 32px;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 24px;
}

.footer-brand p {
  margin: 5px 0 0;
  color: #9ca3af;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid h3 {
  color: #ffffff;
  margin: 0 0 14px;
}

.footer-grid a,
.footer-grid span {
  display: inline-flex;
  margin: 0 12px 10px 0;
  color: #d1d5db;
}

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

.copyright {
  margin: 24px 0 0;
  color: #6b7280;
  text-align: center;
  font-size: 13px;
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero-slide,
  .split-section,
  .detail-shell {
    grid-template-columns: 1fr;
  }

  .hero-side-list,
  .side-feature,
  .detail-aside {
    position: static;
  }

  .hero-side-list {
    display: none;
  }

  .quick-panel,
  .movie-grid-four,
  .category-grid,
  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .nav-shell {
    height: 66px;
  }

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

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

  .hero {
    min-height: 620px;
  }

  .hero-slide {
    padding-top: 58px;
  }

  .hero h1,
  .hero h2,
  .detail-hero h1,
  .page-hero h1 {
    letter-spacing: -0.05em;
  }

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

  .quick-panel,
  .movie-grid-four,
  .movie-grid-three,
  .category-grid,
  .category-card-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-item a,
  .full-rank .rank-item a {
    grid-template-columns: 44px 104px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-cover,
  .full-rank .rank-cover {
    width: 104px;
    height: 70px;
  }

  .rank-info em,
  .rank-info small {
    display: none;
  }

  .detail-card,
  .info-panel {
    padding: 22px;
  }

  .poster-panel {
    min-height: 320px;
  }

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