:root {
  --sky: #0ea5e9;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f0f9ff;
  --card: #ffffff;
  --line: #e2e8f0;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 45%, #f8fafc 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--sky), var(--blue), var(--cyan));
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.28);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.brand-text {
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.top-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.top-search input,
.mobile-search input,
.live-search {
  border: 0;
  outline: 0;
  min-width: 240px;
  padding: 12px 16px;
  color: var(--ink);
  background: transparent;
  font-size: 0.95rem;
}

.top-search button,
.mobile-search button {
  border: 0;
  padding: 12px 18px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

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

.mobile-search {
  display: flex;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
}

.mobile-search input {
  flex: 1;
}

.mobile-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.mobile-link {
  padding: 10px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.mobile-link.active {
  background: rgba(255, 255, 255, 0.28);
}

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

.hero-slides {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.58), rgba(14, 165, 233, 0.16)), var(--hero-image);
  background-size: cover;
  background-position: center;
  transition: opacity 0.65s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.35), transparent 28%), linear-gradient(0deg, #020617 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 56px;
  padding: 64px 0 120px;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #cffafe;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 660px;
  margin: 24px 0 0;
  color: #e0f2fe;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.ranking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-tags span,
.detail-tags a,
.ranking-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn,
.inline-link,
.ranking-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(255, 255, 255, 0.2);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.primary-btn:hover,
.ghost-btn:hover,
.inline-link:hover,
.ranking-action:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.45);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

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

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

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

.hero-category-strip {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  width: min(960px, calc(100% - 32px));
  display: flex;
  justify-content: center;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-category-strip a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-thumbs {
  position: absolute;
  right: 24px;
  bottom: 26px;
  z-index: 5;
  display: none;
  gap: 10px;
}

.hero-thumb {
  width: 86px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.hero-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-thumb span {
  display: block;
  padding: 7px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.72rem;
  font-weight: 800;
}

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

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

.section-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.section-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
  font-size: 1.4rem;
}

.section-more,
.inline-link {
  color: var(--blue);
  font-weight: 900;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

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

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

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.5), transparent 55%);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.score-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #f97316, #facc15);
  font-weight: 900;
}

.card-body {
  padding: 18px;
}

.card-title {
  display: block;
  min-height: 1.35em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.card-title:hover,
.horizontal-title:hover,
.ranking-main a:hover {
  color: var(--blue);
}

.card-desc {
  min-height: 3.4em;
  margin: 10px 0 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.82rem;
}

.card-meta a {
  padding: 6px 10px;
  border-radius: 999px;
  color: #0369a1;
  background: linear-gradient(90deg, #e0f2fe, #cffafe);
  font-weight: 800;
}

.hot-panel {
  width: min(1180px, calc(100% - 32px));
  padding: 36px;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff7ed, #fef9c3);
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.18);
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 38px 64px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.rank-no,
.ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #facc15);
  font-weight: 900;
}

.rank-no {
  width: 38px;
  height: 38px;
}

.ranking-row img {
  width: 64px;
  height: 50px;
  border-radius: 14px;
  object-fit: cover;
}

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

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

.rank-info em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.rank-score {
  color: #ea580c;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 28px;
}

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

.horizontal-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.horizontal-cover {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
}

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

.horizontal-title {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.horizontal-card p {
  margin: 8px 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.horizontal-card span {
  color: var(--sky);
  font-weight: 800;
  font-size: 0.9rem;
}

.spotlight-box,
.content-card,
.side-card,
.category-large-card {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.spotlight-box {
  padding: 28px;
}

.spotlight-box h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.spotlight-box p {
  color: var(--muted);
  line-height: 1.8;
}

.compact-grid,
.side-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.compact-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #f8fafc;
}

.compact-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.compact-card span {
  display: block;
  padding: 9px 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.86rem;
  font-weight: 800;
}

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

.category-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 26px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

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

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

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(14, 165, 233, 0.2));
}

.category-card div {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.category-card strong,
.category-card span {
  display: block;
}

.category-card strong {
  font-size: 1.25rem;
}

.category-card span {
  margin-top: 8px;
  color: #dbeafe;
  line-height: 1.6;
  font-size: 0.9rem;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 16px;
  color: #ffffff;
  text-align: center;
  background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.25), transparent 24%), linear-gradient(90deg, var(--sky), var(--blue), var(--cyan));
}

.inner-hero p {
  margin: 0 0 12px;
  color: #cffafe;
  font-weight: 900;
}

.inner-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  letter-spacing: -0.04em;
}

.inner-hero span {
  display: block;
  max-width: 760px;
  margin: 18px auto 0;
  color: #e0f2fe;
  line-height: 1.8;
  font-size: 1.05rem;
}

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

.category-large-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  overflow: hidden;
  border-radius: 22px;
}

.category-mosaic img {
  width: 100%;
  height: 92px;
  object-fit: cover;
}

.category-large-card h2 {
  margin: 8px 0 10px;
}

.category-large-card p {
  color: var(--muted);
  line-height: 1.75;
}

.tools-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.live-search {
  flex: 1;
  min-width: 220px;
  border-radius: 999px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

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

.ranking-full-row {
  display: grid;
  grid-template-columns: 60px 108px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.ranking-number {
  width: 48px;
  height: 48px;
}

.ranking-poster {
  overflow: hidden;
  border-radius: 18px;
}

.ranking-poster img {
  width: 108px;
  height: 74px;
  object-fit: cover;
}

.ranking-main h2 {
  margin: 0;
  font-size: 1.1rem;
}

.ranking-main p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.ranking-tags span {
  color: #0369a1;
  background: #e0f2fe;
}

.ranking-action {
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.28)), var(--detail-image);
  background-size: cover;
  background-position: center;
}

.detail-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 10%, rgba(14, 165, 233, 0.34), transparent 26%), linear-gradient(0deg, rgba(2, 6, 23, 1), transparent 45%);
}

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

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

.breadcrumb strong {
  color: #ffffff;
}

.detail-top {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

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

.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 800px;
  margin: 20px 0 0;
  color: #e0f2fe;
  font-size: 1.15rem;
  line-height: 1.8;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-stats span {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.28);
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
  object-fit: contain;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.18));
  cursor: pointer;
}

.player-shell.is-playing .player-cover {
  opacity: 0;
  pointer-events: none;
}

.player-icon {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--blue);
  background: #ffffff;
  font-size: 2.2rem;
  box-shadow: 0 22px 50px rgba(255, 255, 255, 0.22);
}

.player-title {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.content-card,
.side-card {
  padding: 26px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 1.55rem;
}

.content-card p {
  margin: 0;
  color: #334155;
  line-height: 2;
  font-size: 1.02rem;
}

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

.detail-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.side-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px 14px;
}

.side-card dt {
  color: #94a3b8;
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

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

.site-footer {
  margin-top: 40px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.2rem;
}

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

.site-footer h3 {
  margin: 0 0 16px;
  color: #ffffff;
}

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

.site-footer li {
  margin: 9px 0;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  font-size: 0.92rem;
}

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

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

  .hero-content,
  .detail-top,
  .detail-layout,
  .split-section,
  .footer-grid,
  .category-large-card {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-poster {
    max-width: 340px;
  }

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

  .featured-grid,
  .related-grid,
  .category-large-grid,
  .ranking-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-side {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .brand-text {
    font-size: 1.05rem;
  }

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

  .hero-content {
    min-height: 650px;
    padding: 44px 0 150px;
    gap: 28px;
  }

  .hero-category-strip {
    flex-wrap: wrap;
    bottom: 24px;
  }

  .hero-dots {
    bottom: 104px;
  }

  .page-section {
    padding: 36px 0;
  }

  .movie-grid,
  .featured-grid,
  .related-grid,
  .category-grid,
  .category-large-grid,
  .ranking-preview,
  .compact-grid,
  .side-links {
    grid-template-columns: 1fr;
  }

  .tools-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .horizontal-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .ranking-full-row {
    grid-template-columns: 44px 80px minmax(0, 1fr);
  }

  .ranking-action {
    grid-column: 2 / -1;
  }

  .ranking-poster img {
    width: 80px;
    height: 64px;
  }

  .detail-wrap {
    padding-bottom: 48px;
  }

  .content-card,
  .side-card,
  .hot-panel {
    padding: 20px;
    border-radius: 24px;
  }
}
