* {
  box-sizing: border-box;
}

:root {
  --color-primary: 30 30 35;
  --color-secondary: 45 45 50;
  --color-accent: 70 130 180;
  --color-success: 46 125 50;
  --color-warning: 255 152 0;
  --color-error: 211 47 47;
  --color-text-primary: 240 240 245;
  --color-text-secondary: 180 180 190;
  --color-text-muted: 120 120 130;
  --color-bg-primary: 18 18 22;
  --color-bg-secondary: 25 25 30;
  --color-bg-tertiary: 35 35 40;
  --color-border: 50 50 60;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(70, 130, 180, 0.15), transparent 34rem),
    rgb(var(--color-bg-primary));
  color: rgb(var(--color-text-primary));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(var(--color-border));
  background: rgba(25, 25, 30, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(70, 130, 180, 0.16);
  color: rgb(var(--color-accent));
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(12deg) scale(1.05);
}

.brand-name {
  font-size: 21px;
  background: linear-gradient(90deg, rgb(var(--color-text-primary)), rgb(var(--color-accent)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  position: relative;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: rgb(var(--color-text-secondary));
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-link:hover,
.nav-link.is-active {
  color: rgb(var(--color-text-primary));
}

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

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 180px;
  padding: 10px;
  border: 1px solid rgb(var(--color-border));
  border-radius: 16px;
  background: rgba(25, 25, 30, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgb(var(--color-text-secondary));
}

.dropdown-menu a:hover {
  background: rgb(var(--color-bg-tertiary));
  color: rgb(var(--color-text-primary));
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgb(var(--color-bg-tertiary));
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: rgb(var(--color-text-primary));
}

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

.section-muted {
  max-width: none;
  padding-left: max(24px, calc((100% - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100% - 1280px) / 2 + 24px));
  background: rgba(25, 25, 30, 0.52);
}

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

.section-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  background: linear-gradient(90deg, rgb(var(--color-text-primary)), rgb(var(--color-text-secondary)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading p {
  margin: 10px 0 0;
  color: rgb(var(--color-text-secondary));
  line-height: 1.65;
}

.section-link,
.text-link {
  color: rgb(var(--color-accent));
  font-weight: 700;
}

.hero-slider {
  position: relative;
  max-width: 1280px;
  height: 620px;
  margin: 32px auto 12px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

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

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

.hero-bg,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade,
.detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.35) 52%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(18, 18, 22, 0.95), transparent 45%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 52px;
  align-items: end;
  padding: 72px;
}

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgb(var(--color-text-primary));
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.hero-copy h1,
.compact-hero h1,
.detail-title-row h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy p,
.compact-hero p,
.detail-title-row p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgb(var(--color-text-secondary));
  font-size: 18px;
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tags span,
.content-card .hero-tags span {
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(70, 130, 180, 0.18);
  color: rgb(var(--color-accent));
  font-weight: 700;
  font-size: 13px;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.primary-button {
  background: rgb(var(--color-accent));
  color: #fff;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: rgb(82, 150, 210);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-poster {
  position: relative;
  width: 280px;
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  overflow: hidden;
  justify-self: end;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

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

.hero-poster span,
.play-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: rgb(var(--color-bg-primary));
  font-weight: 900;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  font-size: 34px;
  transform: translateY(-50%);
  opacity: 0;
  transition: 0.2s ease;
}

.hero-slider:hover .hero-arrow {
  opacity: 1;
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

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

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgb(var(--color-bg-secondary));
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgb(var(--color-bg-tertiary));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

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

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

.movie-card-poster {
  aspect-ratio: 2 / 3;
}

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

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.18) 62%, transparent);
}

.poster-info,
.large-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
}

.poster-info h3,
.large-info h3,
.wide-info h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.poster-info p,
.large-info p,
.wide-info p {
  margin: 0 0 10px;
  color: rgb(var(--color-text-secondary));
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgb(var(--color-text-muted));
  font-size: 12px;
}

.card-meta span {
  padding: 4px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.movie-card-wide {
  display: flex;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.wide-cover {
  position: relative;
  flex: 0 0 148px;
  height: 92px;
  overflow: hidden;
  border-radius: 14px;
}

.wide-info {
  min-width: 0;
  padding: 4px 6px 4px 0;
}

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

.category-tile,
.category-overview-card {
  display: block;
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(70, 130, 180, 0.16), rgba(70, 130, 180, 0.04)),
    rgb(var(--color-bg-secondary));
  transition: 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(70, 130, 180, 0.5);
}

.category-tile span,
.category-head h2 {
  display: block;
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
}

.category-tile strong,
.category-head strong {
  color: rgb(var(--color-accent));
}

.category-tile p,
.category-overview-card p {
  color: rgb(var(--color-text-secondary));
  line-height: 1.65;
}

.category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.category-samples {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.category-samples a {
  color: rgb(var(--color-text-secondary));
}

.category-samples a:hover {
  color: rgb(var(--color-accent));
}

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

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

.ranking-panel,
.side-card,
.content-card,
.player-card,
.search-box-panel,
.ranking-column {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  background: rgb(var(--color-bg-secondary));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.ranking-panel {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 24px;
}

.ranking-panel h2,
.side-card h2,
.content-card h2,
.player-card h2,
.ranking-column h2 {
  margin: 0 0 18px;
}

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

.ranking-panel li a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: rgb(var(--color-text-secondary));
}

.ranking-panel li span,
.rank-no {
  color: rgb(var(--color-accent));
  font-weight: 900;
}

.ranking-panel li strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgb(var(--color-text-primary));
}

.ranking-panel li em {
  color: rgb(var(--color-text-muted));
  font-style: normal;
}

.stats-band,
.page-hero {
  border-radius: 28px;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(70, 130, 180, 0.24), rgba(70, 130, 180, 0.05)),
    rgb(var(--color-bg-secondary));
  text-align: center;
}

.stats-band h2,
.stats-band p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.stats-band h2 {
  margin-top: 0;
  font-size: clamp(26px, 4vw, 44px);
}

.stats-band p {
  color: rgb(var(--color-text-secondary));
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stats-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgb(var(--color-bg-secondary));
}

.stats-grid strong {
  display: block;
  color: rgb(var(--color-accent));
  font-size: 32px;
}

.stats-grid span {
  color: rgb(var(--color-text-secondary));
}

.compact-hero {
  max-width: 1280px;
  margin: 32px auto 0;
  text-align: left;
}

.compact-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.filter-bar,
.search-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.filter-bar {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgb(var(--color-bg-secondary));
}

.filter-bar input,
.filter-bar select,
.search-box-panel input,
.search-box-panel select {
  min-height: 46px;
  border: 1px solid rgb(var(--color-border));
  border-radius: 14px;
  outline: none;
  background: rgb(var(--color-bg-tertiary));
  color: rgb(var(--color-text-primary));
}

.filter-bar input {
  flex: 1 1 280px;
  padding: 0 16px;
}

.filter-bar select {
  flex: 0 1 180px;
  padding: 0 12px;
}

.result-count {
  margin: 0 0 20px;
  color: rgb(var(--color-text-secondary));
}

.chip-panel {
  margin-top: 20px;
}

.chip-panel h2 {
  margin: 0 0 12px;
}

.chip-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-panel span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgb(var(--color-bg-tertiary));
  color: rgb(var(--color-text-secondary));
}

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

.ranking-column {
  padding: 22px;
}

.ranking-list li a {
  display: grid;
  grid-template-columns: 40px 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ranking-list img {
  width: 72px;
  height: 98px;
  border-radius: 10px;
  object-fit: cover;
}

.ranking-list strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.35;
}

.ranking-list p {
  margin: 0 0 8px;
  color: rgb(var(--color-text-secondary));
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.ranking-list em {
  color: rgb(var(--color-text-muted));
  font-style: normal;
  font-size: 12px;
}

.search-box-panel {
  padding: 22px;
  margin-bottom: 20px;
}

.search-box-panel input {
  width: 100%;
  margin-bottom: 14px;
  padding: 0 16px;
}

.search-box-panel select {
  flex: 1 1 180px;
  padding: 0 12px;
}

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

.detail-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.detail-bg {
  position: absolute;
  inset: 0;
  filter: blur(3px);
}

.detail-hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 24px 56px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 54px;
  color: rgb(var(--color-text-secondary));
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: rgb(var(--color-accent));
}

.detail-title-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-cover {
  width: 220px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.detail-side {
  position: sticky;
  top: 88px;
}

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

.video-player {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.18));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: rgb(var(--color-bg-primary));
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

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

.player-card h2 {
  margin-top: 22px;
}

.player-card p,
.content-card p {
  color: rgb(var(--color-text-secondary));
  line-height: 1.8;
}

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

.info-grid div {
  padding: 16px;
  border-radius: 16px;
  background: rgb(var(--color-bg-tertiary));
}

.info-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgb(var(--color-text-muted));
  font-size: 13px;
}

.info-grid strong {
  color: rgb(var(--color-text-primary));
}

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

.compact-wide-list .wide-cover {
  flex-basis: 108px;
  height: 74px;
}

.compact-wide-list .wide-info p {
  -webkit-line-clamp: 1;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgb(var(--color-border));
  background: rgb(var(--color-bg-secondary));
}

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

.footer-brand p,
.footer-column a {
  color: rgb(var(--color-text-secondary));
  line-height: 1.7;
}

.footer-column h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-column a {
  display: block;
  margin-bottom: 8px;
}

.footer-column a:hover {
  color: rgb(var(--color-accent));
}

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

.footer-tags a {
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgb(var(--color-bg-tertiary));
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 30px;
  color: rgb(var(--color-text-muted));
  font-size: 14px;
}

.is-filter-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .movie-grid-six {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .ranking-panel,
  .detail-side {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-nav {
    padding: 0 16px;
  }

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

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgb(var(--color-border));
    border-radius: 18px;
    background: rgba(25, 25, 30, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px;
  }

  .nav-link::after,
  .dropdown-menu {
    display: none;
  }

  .hero-slider {
    height: 650px;
    margin: 16px;
    border-radius: 22px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 24px 58px;
    align-items: end;
  }

  .hero-poster {
    display: none;
  }

  .hero-copy h1,
  .compact-hero h1,
  .detail-title-row h1 {
    font-size: 38px;
  }

  .hero-arrow {
    opacity: 1;
  }

  .section-container,
  .section-muted {
    padding: 34px 16px;
  }

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

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

  .category-grid,
  .category-overview-grid,
  .stats-grid,
  .info-grid,
  .search-results,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .stats-band,
  .page-hero {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .movie-card-wide {
    gap: 12px;
  }

  .wide-cover {
    flex-basis: 118px;
    height: 78px;
  }

  .detail-title-row {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    width: 150px;
  }

  .detail-hero {
    min-height: auto;
  }

  .breadcrumbs {
    margin-bottom: 28px;
  }

  .player-card,
  .content-card,
  .side-card,
  .ranking-column {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 18px;
  }

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

  .poster-info,
  .large-info {
    padding: 12px;
  }

  .poster-info h3,
  .large-info h3,
  .wide-info h3 {
    font-size: 14px;
  }

  .card-meta span:nth-child(3) {
    display: none;
  }

  .hero-copy p,
  .compact-hero p,
  .detail-title-row p {
    font-size: 16px;
  }

  .ranking-list li a {
    grid-template-columns: 32px 58px minmax(0, 1fr);
  }

  .ranking-list img {
    width: 58px;
    height: 82px;
  }
}
