:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: #111c33;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #2563eb;
  --green: #22c55e;
  --yellow: #facc15;
  --orange: #fb923c;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.48);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.14), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.18), transparent 28%),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 58, 138, 0.95), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #60a5fa, #22d3ee);
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.24);
  transition: transform 0.25s ease;
}

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

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 24px 0;
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

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

.nav-search input,
.mobile-search input,
.big-search input,
.filter-panel input {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
  width: 220px;
  padding: 11px 16px;
}

.nav-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-panel input:focus {
  border-color: rgba(34, 211, 238, 0.78);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
  background: rgba(15, 23, 42, 0.98);
}

.nav-search button,
.mobile-search button,
.big-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(34, 211, 238, 0.24);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  cursor: pointer;
}

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

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-search input {
  width: 100%;
  padding: 12px 16px;
}

.mobile-links {
  display: grid;
  gap: 8px;
}

.mobile-link {
  display: block;
  color: #cbd5e1;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
}

.mobile-link.is-active,
.mobile-link:hover {
  color: var(--cyan);
  background: rgba(8, 47, 73, 0.82);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #020617;
}

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

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

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) brightness(0.66);
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.82) 34%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0) 42%);
}

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

.eyebrow {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 22px 0 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  color: #e0f2fe;
}

.hero-desc,
.page-hero p,
.detail-one {
  max-width: 720px;
  margin: 20px 0 0;
  color: #cbd5e1;
  font-size: 18px;
}

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

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

.hero-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  color: #cffafe;
  background: rgba(8, 145, 178, 0.22);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

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

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

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

.btn.ghost {
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.52);
}

.hero-poster {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform 0.25s ease;
  background: var(--panel);
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-6px);
}

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

.hero-poster span,
.card-play,
.detail-poster span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(34, 211, 238, 0.88);
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.28);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: calc((100% - min(1180px, calc(100% - 32px))) / 2);
  bottom: 94px;
  display: flex;
  gap: 12px;
}

.hero-controls button {
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.hero-thumbs {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hero-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 8px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.hero-thumb.is-active {
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.6);
  background: rgba(8, 47, 73, 0.72);
}

.hero-thumb img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}

.hero-thumb span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.panel,
.content-section,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.quick-search {
  margin-top: -48px;
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quick-search h2,
.section-head h2,
.footer-col h2,
.article-panel h2,
.card-body h2,
.category-card-body h2,
.compact-card h2,
.rank-item h2 {
  margin: 0;
}

.quick-search h2 {
  font-size: clamp(24px, 3vw, 34px);
}

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

.big-search {
  display: flex;
  gap: 10px;
}

.big-search input {
  width: 100%;
  padding: 14px 18px;
}

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

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

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.03em;
}

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

.section-more {
  color: var(--cyan);
  font-weight: 900;
}

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

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

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

.masonry-like {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

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

.movie-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.22);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(34, 211, 238, 0.48);
  background: rgba(30, 41, 59, 0.96);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.42);
}

.card-poster {
  position: relative;
  overflow: hidden;
  background: #111827;
  aspect-ratio: 2 / 3;
}

.movie-card.wide .card-poster,
.movie-card.feature .card-poster {
  aspect-ratio: 16 / 10;
}

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

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

.card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86) 0%, transparent 48%);
  opacity: 0.78;
}

.card-play {
  opacity: 0;
  z-index: 2;
  width: 54px;
  height: 54px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.card-year,
.card-type {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 4px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.card-year {
  right: 10px;
  bottom: 10px;
  background: rgba(2, 6, 23, 0.78);
}

.card-type {
  left: 10px;
  top: 10px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.card-body {
  padding: 15px;
}

.card-body h2 {
  font-size: 17px;
  line-height: 1.35;
}

.card-body h2 a:hover,
.compact-card h2 a:hover,
.rank-item h2 a:hover,
.category-preview a:hover {
  color: var(--cyan);
}

.card-meta,
.card-desc,
.compact-card p,
.rank-item p {
  color: var(--muted);
}

.card-meta {
  min-height: 23px;
  margin: 7px 0 0;
  font-size: 13px;
}

.card-desc {
  min-height: 66px;
  margin: 8px 0 0;
  font-size: 14px;
}

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

.movie-card.compact .card-body h2 {
  font-size: 15px;
}

.movie-card.compact .card-desc,
.movie-card.compact .card-tags {
  display: none;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  gap: 22px;
  overflow-x: auto;
  padding: 0 0 14px;
  scroll-snap-type: x mandatory;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
  transform: translateX(5px);
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(30, 41, 59, 0.95);
}

.rank-poster {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

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

.rank-poster span {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #facc15);
  border-radius: 10px;
  font-weight: 900;
}

.rank-item h2 {
  font-size: 17px;
  line-height: 1.35;
}

.rank-item p {
  margin: 8px 0 0;
  font-size: 13px;
}

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

.category-tile,
.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.86);
  box-shadow: 0 20px 55px rgba(2, 6, 23, 0.26);
}

.category-tile img,
.category-card-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.55);
  transition: transform 0.3s ease;
}

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

.category-tile::after,
.category-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.18));
}

.category-tile span,
.category-tile em {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
}

.category-tile span {
  font-size: 26px;
  font-weight: 900;
}

.category-tile em {
  color: #cbd5e1;
  margin-top: 8px;
  font-style: normal;
  font-size: 14px;
}

.page-hero {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 0 48px;
}

.page-hero.slim {
  min-height: 330px;
}

.ranking-hero {
  min-height: 640px;
}

.ranking-feature {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

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

.category-card {
  min-height: unset;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.category-card-cover {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.category-card-cover span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  font-size: 26px;
  font-weight: 900;
}

.category-card-body {
  padding: 24px;
}

.category-card-body h2 {
  font-size: 24px;
}

.category-card-body p {
  color: var(--muted);
}

.category-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-preview a {
  color: #cffafe;
  background: rgba(8, 145, 178, 0.17);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
}

.filter-panel {
  position: sticky;
  top: 86px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.filter-panel input {
  width: 100%;
  padding: 13px 16px;
}

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

.filter-tags button {
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.72);
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
}

.filter-tags button.is-active,
.filter-tags button:hover {
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(8, 145, 178, 0.34);
}

.movie-hero-detail {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background: #020617;
}

.detail-bg {
  position: absolute;
  inset: 0;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.05) brightness(0.42);
  transform: scale(1.12);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.58)),
    linear-gradient(0deg, #020617, transparent 48%);
}

.detail-layout {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0;
}

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

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

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

.breadcrumb a {
  color: var(--cyan);
  font-weight: 800;
}

.breadcrumb em {
  font-style: normal;
}

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

.detail-meta span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  padding: 10px 13px;
}

.detail-meta b {
  color: var(--cyan);
}

.detail-tags {
  margin-top: 20px;
}

.player-section {
  width: min(1180px, calc(100% - 32px));
  margin: -64px auto 0;
  position: relative;
  z-index: 4;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), rgba(2, 6, 23, 0.64));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 55px rgba(34, 211, 238, 0.34);
  font-size: 40px;
  transform: translateX(3px);
}

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

.article-panel {
  padding: 32px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(2, 6, 23, 0.22);
}

.article-panel h2 {
  font-size: 26px;
  margin-top: 26px;
}

.article-panel h2:first-child {
  margin-top: 0;
}

.article-panel p {
  color: #cbd5e1;
  font-size: 17px;
}

.site-footer {
  margin-top: 80px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 1));
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(160px, 0.6fr));
  gap: 34px;
}

.footer-brand p,
.footer-bottom {
  color: var(--muted);
}

.footer-brand p {
  max-width: 520px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-col h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-col a {
  color: #cbd5e1;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.13);
  font-size: 14px;
}

[data-card].is-hidden {
  display: none;
}

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: 680px;
    padding-top: 72px;
  }

  .hero-poster {
    display: none;
  }

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

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

  .rank-grid,
  .rank-list,
  .category-list-grid,
  .ranking-feature {
    grid-template-columns: 1fr;
  }

  .quick-search,
  .filter-panel,
  .footer-inner,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .navbar {
    height: 64px;
  }

  .brand-name {
    font-size: 18px;
  }

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

  .hero,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    padding: 62px 0 140px;
  }

  .hero-thumbs {
    grid-template-columns: repeat(5, 68px);
    overflow-x: auto;
  }

  .hero-thumb {
    justify-content: center;
  }

  .hero-thumb span {
    display: none;
  }

  .hero-controls {
    right: 16px;
    bottom: 104px;
  }

  .quick-search {
    margin-top: -34px;
    padding: 20px;
  }

  .big-search,
  .mobile-search {
    flex-direction: column;
  }

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

  .movie-grid,
  .latest-grid,
  .full-grid,
  .related-grid,
  .masonry-like,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .card-body {
    padding: 12px;
  }

  .card-desc,
  .card-tags {
    display: none;
  }

  .rank-grid,
  .rank-list {
    gap: 12px;
  }

  .rank-item {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-card-cover {
    min-height: 220px;
  }

  .detail-layout {
    padding: 42px 0 86px;
  }

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

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

  .article-panel {
    padding: 22px;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .latest-grid,
  .full-grid,
  .related-grid,
  .masonry-like,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .scroll-row {
    grid-auto-columns: minmax(260px, 86vw);
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }
}
