:root {
  --stellar-dark: #0a0e27;
  --stellar-deep: #141b3d;
  --stellar-mid: #1e2847;
  --stellar-light: #2a3857;
  --stellar-glow: #4a90e2;
  --stellar-sky: #38bdf8;
  --text-main: #ffffff;
  --text-soft: #d1d5db;
  --text-muted: #9ca3af;
  --shadow-glow: 0 18px 45px rgba(74, 144, 226, 0.3);
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background: var(--stellar-dark);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(42, 56, 87, 0.7);
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--stellar-glow), var(--stellar-sky));
  box-shadow: var(--shadow-glow);
}

.brand-text {
  font-size: 20px;
}

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

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 14px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(74, 144, 226, 0.18);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  min-width: 260px;
  border: 1px solid rgba(74, 144, 226, 0.35);
  border-radius: 999px;
  background: rgba(20, 27, 61, 0.78);
  overflow: hidden;
}

.header-search input {
  width: 100%;
  min-width: 0;
  padding: 10px 14px;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-search button {
  align-self: stretch;
  border: 0;
  padding: 0 16px;
  color: #ffffff;
  background: var(--stellar-glow);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(74, 144, 226, 0.45);
  border-radius: 14px;
  background: rgba(30, 40, 71, 0.8);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: #ffffff;
}

.mobile-panel {
  display: none;
  width: var(--container);
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid rgba(42, 56, 87, 0.75);
  border-radius: 18px;
  background: rgba(20, 27, 61, 0.98);
}

.mobile-panel.is-open {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-soft);
  background: rgba(42, 56, 87, 0.45);
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: #000000;
}

.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-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(74, 144, 226, 0.25), transparent 32%),
    linear-gradient(to top, var(--stellar-dark) 0%, rgba(10, 14, 39, 0.7) 44%, rgba(10, 14, 39, 0.22) 100%),
    linear-gradient(to right, rgba(10, 14, 39, 0.95), rgba(10, 14, 39, 0.25));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 92px;
  width: min(720px, calc(100vw - 48px));
  animation: fadeInUp 0.8s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: #ffffff;
  border: 1px solid rgba(74, 144, 226, 0.6);
  border-radius: 999px;
  background: rgba(74, 144, 226, 0.22);
  box-shadow: 0 0 24px rgba(74, 144, 226, 0.18);
  font-size: 13px;
  font-weight: 600;
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 660px;
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.7;
}

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

.hero-tags span,
.detail-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.08);
}

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

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--stellar-glow), var(--stellar-sky));
  box-shadow: var(--shadow-glow);
}

.ghost-btn,
.section-more {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 27, 61, 0.7);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(10, 14, 39, 0.65);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  border-radius: 999px;
  background: var(--stellar-glow);
}

.content-section,
.seo-block {
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0;
}

.deep-section,
.latest-section {
  width: 100%;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, var(--stellar-dark), var(--stellar-deep));
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading span {
  color: var(--stellar-glow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 4vw, 38px);
}

.section-heading p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.featured-grid,
.compact-grid,
.all-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.movie-card {
  min-width: 0;
}

.movie-link {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--stellar-mid);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--stellar-mid);
}

.movie-card-wide .poster-wrap {
  aspect-ratio: 16 / 9;
}

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

.movie-link:hover .poster-wrap img {
  transform: scale(1.1);
}

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.35), transparent);
}

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(74, 144, 226, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-meta-top {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.movie-meta-top span,
.rank-badge {
  padding: 5px 9px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(74, 144, 226, 0.86);
  font-size: 12px;
  font-weight: 700;
}

.movie-meta-top span + span {
  background: rgba(0, 0, 0, 0.58);
}

.rank-badge {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ef4444, var(--stellar-glow));
}

.movie-copy {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
}

.movie-copy h3 {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-copy p {
  margin: 0;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 20px;
  scrollbar-color: var(--stellar-glow) var(--stellar-mid);
}

.rail-card {
  width: 205px;
  flex: 0 0 auto;
}

.section-more {
  margin-top: 22px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 44px 58px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(74, 144, 226, 0.18);
  border-radius: 18px;
  background: rgba(30, 40, 71, 0.65);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ranking-item:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 144, 226, 0.65);
}

.ranking-num {
  color: var(--stellar-glow);
  font-size: 22px;
  font-weight: 900;
}

.ranking-item img {
  width: 58px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
}

.ranking-text {
  min-width: 0;
}

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

.ranking-text strong {
  color: #ffffff;
  margin-bottom: 6px;
}

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

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

.wide-list-card a {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  height: 120px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(30, 40, 71, 0.8);
  border: 1px solid rgba(74, 144, 226, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wide-list-card a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.wide-list-card img {
  width: 150px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
}

.wide-list-card h3 {
  margin: 6px 0 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wide-list-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(74, 144, 226, 0.35), transparent 26%),
    linear-gradient(135deg, var(--stellar-deep), var(--stellar-dark));
}

.small-hero > div {
  width: var(--container);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.03em;
}

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

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.category-card a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(74, 144, 226, 0.22);
  border-radius: 24px;
  background: rgba(30, 40, 71, 0.72);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-posters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  height: 150px;
  overflow: hidden;
}

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

.category-body {
  padding: 20px;
}

.category-body span {
  color: var(--stellar-glow);
  font-size: 13px;
  font-weight: 800;
}

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

.category-body p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 190px));
  gap: 12px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid rgba(74, 144, 226, 0.25);
  border-radius: 22px;
  background: rgba(20, 27, 61, 0.8);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(74, 144, 226, 0.22);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(10, 14, 39, 0.7);
  outline: 0;
  padding: 0 14px;
}

.filter-panel option {
  background: var(--stellar-dark);
}

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

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 28px;
  align-items: start;
}

.ranking-column {
  display: grid;
  gap: 12px;
  max-height: 75vh;
  overflow: auto;
  padding-right: 6px;
}

.ranking-cards {
  min-width: 0;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--stellar-dark);
}

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

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.03);
  opacity: 0.48;
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--stellar-dark) 0%, rgba(10, 14, 39, 0.72) 45%, rgba(10, 14, 39, 0.42) 100%),
    linear-gradient(to right, var(--stellar-dark), transparent);
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: end;
  padding: 92px 0 60px;
}

.detail-poster img {
  width: 260px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-glow);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--stellar-glow);
}

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
}

.detail-line {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(30, 40, 71, 0.76);
}

.player-section h2,
.detail-text h2 {
  margin: 0 0 20px;
  font-size: 30px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000000;
  box-shadow: var(--shadow-glow);
  aspect-ratio: 16 / 9;
}

.player-video,
.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.player-cover {
  z-index: 2;
  padding: 0;
  border: 0;
  background: #000000;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.player-cover-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.25), rgba(0, 0, 0, 0.72));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(74, 144, 226, 0.9);
  box-shadow: var(--shadow-glow);
  font-size: 42px;
  transform: translate(-50%, -50%);
}

.detail-text {
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 17px;
}

.detail-text h2 {
  color: #ffffff;
  margin-top: 30px;
}

.detail-text h2:first-child {
  margin-top: 0;
}

.seo-block {
  color: var(--text-soft);
  line-height: 1.8;
}

.seo-block h2 {
  color: #ffffff;
  font-size: 30px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(42, 56, 87, 0.7);
  background: var(--stellar-deep);
}

.footer-grid {
  width: var(--container);
  margin: 0 auto;
  padding: 48px 0 30px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 30px;
}

.footer-grid p {
  max-width: 460px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-grid h3 {
  margin: 0 0 16px;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 9px 0;
  color: var(--text-muted);
}

.footer-grid a:hover {
  color: var(--stellar-glow);
}

.footer-bottom {
  width: var(--container);
  margin: 0 auto;
  padding: 18px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(42, 56, 87, 0.7);
  color: var(--text-muted);
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 45;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--stellar-glow);
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .menu-toggle {
    display: block;
  }

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

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

  .ranking-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand-text {
    font-size: 17px;
  }

  .header-search {
    display: none;
  }

  .hero {
    height: 78vh;
    min-height: 560px;
  }

  .hero-content {
    left: 18px;
    right: 18px;
    bottom: 78px;
    width: auto;
  }

  .hero-arrow {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .content-section,
  .seo-block {
    padding: 48px 0;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .all-grid,
  .wide-grid,
  .ranking-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .wide-list-card a {
    grid-template-columns: 1fr;
    height: auto;
  }

  .wide-list-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

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

  .detail-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-poster img {
    width: 190px;
  }

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

  .player-button {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .all-grid,
  .wide-grid,
  .ranking-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .mobile-panel.is-open {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 38px 52px 1fr;
  }
}
