:root {
  --bg: #080a16;
  --bg-soft: #111629;
  --panel: rgba(17, 22, 41, 0.82);
  --panel-solid: #151b31;
  --text: #f8fbff;
  --muted: #aeb8cf;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #a855f7;
  --brand-2: #ec4899;
  --brand-3: #22d3ee;
  --gold: #facc15;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(168, 85, 247, 0.30), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(236, 72, 153, 0.22), transparent 30rem),
    linear-gradient(135deg, #080a16 0%, #111827 50%, #160f2d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 72%);
  z-index: -1;
}

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

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

button,
input,
select {
  font: inherit;
}

main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 22, 0.78);
  backdrop-filter: blur(22px);
}

.header-inner {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.logo {
  font-size: 21px;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 38px rgba(168, 85, 247, 0.42);
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.header-search,
.mobile-search,
.hero-search,
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search {
  min-width: 230px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.search-form input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  outline: none;
  padding: 11px 15px;
  transition: border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.hero-search input::placeholder,
.search-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.search-form input:focus,
.filter-panel select:focus {
  border-color: rgba(168, 85, 247, 0.85);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18);
}

.header-search button,
.mobile-search button,
.hero-search button,
.search-form button {
  border: 0;
  color: #ffffff;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.30);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  cursor: pointer;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 10px;
}

.mobile-nav {
  display: none;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero {
  width: min(1320px, calc(100% - 32px));
  min-height: 680px;
  margin: 28px auto 0;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  overflow: hidden;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

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

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 22, 0.94), rgba(8, 10, 22, 0.58), rgba(8, 10, 22, 0.20)),
    linear-gradient(0deg, rgba(8, 10, 22, 0.82), transparent 45%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 76px);
  bottom: clamp(42px, 8vw, 92px);
  width: min(720px, calc(100% - 48px));
  z-index: 2;
}

.hero-tags,
.tag-row,
.poster-facts,
.detail-actions,
.hero-actions,
.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-tags span,
.tag-row span,
.poster-facts span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
}

.hero-content h1 {
  margin: 18px 0 14px;
  max-width: 760px;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}

.hero-content p {
  margin: 0 0 26px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-panel {
  position: absolute;
  top: 36px;
  right: 36px;
  z-index: 3;
  width: min(420px, calc(100% - 72px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(8, 10, 22, 0.58);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.hero-panel h2,
.section-heading h2,
.rank-panel-head h2,
.text-block h2 {
  margin: 8px 0;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-panel p,
.section-heading p,
.category-card p,
.text-block p,
.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-search {
  margin: 18px 0 16px;
}

.hero-category-links a {
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.hero-dot {
  width: 34px;
  height: 6px;
  padding: 0;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.hero-dot.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f0d7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.36);
}

.ghost-btn,
.section-more {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.content-section {
  width: min(1320px, calc(100% - 32px));
  margin: 72px auto 0;
}

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

.section-heading p {
  max-width: 720px;
  margin: 0;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.20);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.55);
  background: rgba(255, 255, 255, 0.11);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #1d2340, #2b1551);
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 22, 0.84), transparent 52%);
}

.poster-year,
.rank-badge,
.poster-play {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.poster-year {
  left: 12px;
  bottom: 12px;
  min-height: 28px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.38);
}

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  color: #111827;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
}

.poster-play {
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.card-body {
  padding: 15px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 800;
}

.card-body h3 {
  min-height: 52px;
  margin: 8px 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.45;
}

.card-body p {
  min-height: 68px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.tag-row span {
  font-size: 12px;
  padding: 5px 9px;
}

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

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-xl);
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20);
}

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

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

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 10, 22, 0.92), rgba(74, 20, 120, 0.56));
}

.category-card span,
.category-card h3,
.category-card p {
  position: relative;
  z-index: 2;
}

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

.category-card h3 {
  margin: 46px 0 8px;
  font-size: 28px;
}

.rank-panel {
  position: sticky;
  top: 96px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-xl);
  padding: 22px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow);
}

.rank-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.rank-panel-head a {
  color: #f0d7ff;
  font-weight: 800;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.rank-row img {
  width: 58px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #111827;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
}

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

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

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

.rank-heat {
  color: #f0d7ff;
  font-weight: 900;
}

.page-hero,
.detail-hero {
  width: min(1320px, calc(100% - 32px));
  margin: 28px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.page-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(26px, 6vw, 58px);
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(8, 10, 22, 0.94), rgba(31, 18, 64, 0.72));
}

.page-hero h1 {
  max-width: 900px;
  margin: 10px 0 12px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.compact-hero {
  min-height: 300px;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
}

.search-form.wide {
  flex: 1;
}

.select-row {
  display: flex;
  gap: 10px;
}

.filter-panel select {
  min-width: 140px;
  appearance: none;
  cursor: pointer;
}

.empty-state {
  margin: 32px 0 0;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
}

.detail-hero {
  padding: clamp(20px, 4vw, 44px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #f0d7ff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.poster-facts {
  margin-top: 16px;
}

.detail-main h1 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.82;
}

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

.detail-meta-grid div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.075);
}

.detail-meta-grid span,
.detail-meta-grid strong {
  display: block;
}

.detail-meta-grid span {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.detail-meta-grid strong {
  color: #ffffff;
  line-height: 1.45;
}

.large-tags {
  margin-bottom: 26px;
}

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

.video-player {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  aspect-ratio: 16 / 9;
  background: #000000;
  box-shadow: var(--shadow);
}

.video-player video,
.play-cover,
.play-cover img {
  width: 100%;
  height: 100%;
}

.video-player video {
  object-fit: contain;
  background: #000000;
}

.play-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 0;
  color: #ffffff;
  padding: 0;
  background: #000000;
  overflow: hidden;
}

.play-cover img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.56;
  filter: blur(1px) saturate(1.08);
}

.play-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.16), rgba(8, 10, 22, 0.72));
}

.play-circle,
.play-cover strong {
  position: relative;
  z-index: 2;
}

.play-circle {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 48px rgba(168, 85, 247, 0.46);
  font-size: 34px;
  text-indent: 4px;
}

.play-cover strong {
  align-self: start;
  max-width: 80%;
  margin-top: -18%;
  font-size: clamp(22px, 4vw, 42px);
  text-align: center;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.video-player.is-playing .play-cover {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

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

.text-block {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.075);
}

.text-block p {
  margin: 0;
  font-size: 17px;
}

.next-prev {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.next-prev a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  margin-top: 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 22, 0.62);
}

.footer-inner {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.footer-logo {
  font-size: 22px;
}

.footer-inner p {
  margin: 10px 0 0;
  max-width: 620px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

[hidden],
.movie-card.hidden {
  display: none !important;
}

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

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

  .rank-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero {
    min-height: 780px;
  }

  .hero-panel {
    top: 18px;
    right: 18px;
    left: 18px;
    width: auto;
  }

  .hero-content {
    bottom: 34px;
  }

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

  .detail-layout,
  .detail-text,
  .next-prev {
    grid-template-columns: 1fr;
  }

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

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

  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .select-row {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .mobile-nav,
  .hero,
  .content-section,
  .page-hero,
  .detail-hero,
  .player-section,
  .footer-inner {
    width: min(100% - 20px, 1320px);
  }

  .hero {
    min-height: 720px;
    border-radius: 24px;
  }

  .hero-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-content h1,
  .detail-main h1,
  .page-hero h1 {
    letter-spacing: -0.045em;
  }

  .hero-actions,
  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn,
  .section-more {
    width: 100%;
  }

  .section-heading,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .movie-grid,
  .library-grid,
  .small-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .card-body h3,
  .card-body p {
    min-height: 0;
  }

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

  .play-circle {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
