:root {
  --color-cyan: #0891b2;
  --color-cyan-dark: #0e7490;
  --color-blue: #2563eb;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-100: #f1f5f9;
  --color-gray-900: #111827;
  --color-gray-700: #374151;
  --color-gray-500: #6b7280;
  --color-gray-200: #e5e7eb;
  --color-white: #ffffff;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.18);
  --radius-lg: 18px;
  --radius-xl: 26px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-gray-900);
  background: #f8fafc;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.28);
}

.logo-text {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-blue));
  -webkit-background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--color-gray-700);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--color-cyan);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
}

.header-search input,
.mobile-nav input,
.search-panel input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--color-gray-900);
  background: white;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-nav input:focus,
.search-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.header-search button,
.mobile-nav button,
.search-panel button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: white;
  background: var(--color-cyan);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover,
.mobile-nav button:hover,
.search-panel button:hover {
  background: var(--color-cyan-dark);
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-slate-800);
}

.mobile-nav {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px 22px;
  border-top: 1px solid #e2e8f0;
}

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

.mobile-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.mobile-nav form {
  display: flex;
  gap: 8px;
}

.hero-slider {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  color: white;
  background: linear-gradient(180deg, var(--color-slate-900), var(--color-slate-800));
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: radial-gradient(circle at top left, #164e63, #0f172a);
}

.hero-slide img.image-missing {
  opacity: 0.12;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.62) 38%, rgba(15, 23, 42, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 60%);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1280px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 120px 24px 92px;
}

.hero-kicker,
.section-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  color: #0e7490;
  background: #cffafe;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-summary {
  max-width: 720px;
  margin: 0 0 24px;
  color: #e5e7eb;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-weight: 700;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: white;
  background: var(--color-cyan);
  box-shadow: 0 16px 30px rgba(8, 145, 178, 0.28);
}

.primary-button:hover {
  background: var(--color-cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(8, 145, 178, 0.34);
}

.ghost-button {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 2rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: white;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}

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

.section-heading h2,
.ranking-title h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--color-gray-500);
}

.centered-heading {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.compact-heading {
  margin-bottom: 22px;
}

.text-link {
  color: var(--color-cyan);
  font-weight: 800;
}

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

.feature-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-slate-900);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.feature-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 86px 24px 24px;
  color: white;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent);
}

.feature-overlay span {
  font-size: 0.9rem;
  color: #bae6fd;
  font-weight: 800;
}

.feature-overlay h3 {
  margin: 8px 0 10px;
  font-size: 1.45rem;
}

.feature-overlay p {
  margin: 0;
  color: #e5e7eb;
}

.category-section,
.latest-section {
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 22px;
  color: white;
  background: var(--color-slate-900);
  box-shadow: var(--shadow-soft);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.58;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

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

.category-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 58px 20px 20px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.94), transparent);
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.category-card p {
  margin: 0 0 10px;
  color: #e2e8f0;
  font-size: 0.94rem;
}

.category-card span {
  color: #a5f3fc;
  font-weight: 800;
}

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

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

.movie-card {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: #a5f3fc;
  box-shadow: var(--shadow-soft);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #164e63, #0f172a);
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.poster-wrap img.image-missing {
  opacity: 0.08;
}

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

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 2;
}

.poster-badge {
  top: 10px;
  right: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: white;
  background: var(--color-cyan);
  font-size: 0.78rem;
  font-weight: 800;
}

.poster-play {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: white;
  background: rgba(8, 145, 178, 0.88);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-body h3 {
  display: -webkit-box;
  min-height: 2.75em;
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-meta,
.movie-card-summary {
  margin: 0;
  color: var(--color-gray-500);
  font-size: 0.88rem;
}

.movie-card-summary {
  display: -webkit-box;
  min-height: 3.1em;
  margin-top: 8px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-row span,
.detail-tags a {
  border-radius: 999px;
  padding: 4px 9px;
  color: #0e7490;
  background: #ecfeff;
  font-size: 0.75rem;
  font-weight: 800;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  border-radius: var(--radius-xl);
  padding: 24px;
  color: white;
  background: linear-gradient(145deg, var(--color-slate-900), var(--color-slate-800));
  box-shadow: var(--shadow-strong);
}

.ranking-title span {
  color: #67e8f9;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.ranking-panel ol {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.ranking-panel li a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-panel li a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(3px);
}

.ranking-panel strong {
  color: #67e8f9;
}

.ranking-panel span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-panel em {
  color: #cbd5e1;
  font-style: normal;
  font-size: 0.86rem;
}

.full-button {
  width: 100%;
}

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

.latest-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 12px;
  background: white;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.latest-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.latest-item img {
  width: 92px;
  height: 124px;
  border-radius: 14px;
  object-fit: cover;
  background: #0f172a;
}

.latest-item h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.latest-item p,
.latest-item span {
  display: block;
  margin: 0;
  color: var(--color-gray-500);
}

.tags-section {
  background: linear-gradient(135deg, #f8fafc, #ecfeff);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius-xl);
  padding: 34px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.tag-cloud-item {
  border-radius: 999px;
  padding: 8px 14px;
  color: #0e7490;
  background: #cffafe;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tag-cloud-item:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 22px rgba(8, 145, 178, 0.16);
}

.size-3,
.size-4,
.size-5 {
  font-size: 1.1rem;
}

.page-hero {
  color: white;
  background:
    radial-gradient(circle at 16% 20%, rgba(6, 182, 212, 0.42), transparent 34%),
    linear-gradient(135deg, var(--color-slate-900), var(--color-slate-800));
}

.page-hero > div {
  max-width: 1280px;
  margin: 0 auto;
  padding: 84px 24px;
}

.page-hero h1 {
  margin: 16px 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #cbd5e1;
  font-size: 1.1rem;
}

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

.category-overview-card a {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-overview-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--color-slate-900);
}

.category-overview-images img {
  width: 100%;
  height: 115px;
  object-fit: cover;
}

.category-overview-body {
  padding: 26px;
}

.category-overview-body h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.category-overview-body p {
  margin: 0 0 18px;
  color: var(--color-gray-500);
}

.category-overview-body span {
  color: var(--color-cyan);
  font-weight: 900;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(140px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 18px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--color-gray-700);
  font-weight: 800;
}

.filter-panel strong {
  border-radius: 999px;
  padding: 11px 16px;
  color: white;
  background: var(--color-cyan);
  text-align: center;
}

.movie-card.is-hidden {
  display: none;
}

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

.ranking-row a {
  display: grid;
  grid-template-columns: 76px 86px 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 14px 20px;
  background: white;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.ranking-row strong {
  color: var(--color-cyan);
  font-size: 1.5rem;
}

.ranking-row img {
  width: 86px;
  height: 116px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--color-slate-900);
}

.ranking-row h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.ranking-row p,
.ranking-row span {
  display: block;
  margin: 0;
  color: var(--color-gray-500);
}

.ranking-row em {
  border-radius: 999px;
  padding: 8px 12px;
  color: white;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  font-style: normal;
  font-weight: 900;
}

.search-panel {
  display: flex;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto 24px;
}

.search-status {
  margin-bottom: 24px;
  color: var(--color-gray-500);
  text-align: center;
  font-weight: 700;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--color-gray-500);
  font-size: 0.92rem;
}

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

.player-card,
.detail-content,
.sidebar-cover-card,
.sidebar-panel {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-soft);
}

.player-card {
  overflow: hidden;
}

.player-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 0;
  color: white;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18));
  font-size: 1.08rem;
  transition: opacity 0.25s ease;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.92);
  box-shadow: 0 20px 40px rgba(8, 145, 178, 0.32);
  font-size: 2rem;
}

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

.player-note {
  margin: 0;
  padding: 12px 18px;
  color: var(--color-gray-500);
  background: #f8fafc;
  font-size: 0.9rem;
}

.detail-content {
  margin-top: 24px;
  padding: 28px;
}

.detail-content h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-content h2 {
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--color-cyan);
  font-size: 1.35rem;
}

.detail-content p {
  color: var(--color-gray-700);
}

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

.detail-meta span {
  border-radius: 999px;
  padding: 6px 10px;
  color: #0e7490;
  background: #cffafe;
  font-weight: 800;
}

.detail-one-line {
  border-radius: 18px;
  padding: 16px;
  background: #f8fafc;
  font-size: 1.05rem;
  font-weight: 700;
}

.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
}

.sidebar-cover-card {
  position: sticky;
  top: 96px;
  overflow: hidden;
  padding-bottom: 20px;
}

.sidebar-cover-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #0f172a;
}

.sidebar-cover-card h2,
.sidebar-cover-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.sidebar-cover-card h2 {
  margin-top: 18px;
  margin-bottom: 6px;
}

.sidebar-cover-card p {
  margin-top: 0;
  color: var(--color-gray-500);
}

.sidebar-cover-card .primary-button {
  width: calc(100% - 36px);
  margin: 8px 18px 0;
}

.sidebar-panel {
  padding: 20px;
}

.sidebar-panel h2 {
  margin: 0 0 16px;
}

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

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

.movie-card.compact .movie-card-summary,
.movie-card.compact .tag-row {
  display: none;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, var(--color-slate-900), var(--color-slate-800));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 34px;
}

.footer-logo .logo-text {
  color: white;
  background: none;
  -webkit-background-clip: initial;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 1rem;
}

.footer-column p,
.footer-column li {
  color: #94a3b8;
}

.footer-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding: 18px 24px;
  color: #94a3b8;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

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

  .header-search {
    margin-left: auto;
  }

  .mobile-menu-button {
    display: block;
  }

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

  .split-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .sidebar-cover-card {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .header-inner {
    height: auto;
    padding: 14px 18px;
  }

  .header-search {
    display: none;
  }

  .hero-content {
    padding: 100px 18px 84px;
  }

  .hero-arrow {
    display: none;
  }

  .section,
  .detail-layout {
    padding: 48px 18px;
  }

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

  .feature-grid,
  .category-grid,
  .latest-list,
  .category-overview-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

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

  .ranking-row a {
    grid-template-columns: 48px 70px 1fr;
  }

  .ranking-row em {
    grid-column: 3;
    width: fit-content;
  }

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

@media (max-width: 460px) {
  .movie-grid,
  .sidebar-related-grid {
    grid-template-columns: 1fr;
  }

  .latest-item {
    grid-template-columns: 76px 1fr;
  }

  .latest-item img {
    width: 76px;
    height: 104px;
  }
}
