:root {
  --bg: #070b15;
  --panel: #0f172a;
  --panel-soft: #172036;
  --card: #101827;
  --text: #f8fafc;
  --muted: #a8b3c7;
  --muted-2: #64748b;
  --line: rgba(148, 163, 184, 0.2);
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --shadow: 0 22px 60px rgba(2, 8, 23, 0.45);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 32rem),
    linear-gradient(180deg, #0b1020 0%, #07101d 38%, #08111f 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 35px rgba(34, 211, 238, 0.25);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.nav-link {
  color: #dbeafe;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

.top-search {
  position: relative;
  width: 260px;
}

.top-search input,
.mobile-search input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  outline: none;
  border-radius: 999px;
  color: #fff;
  background: rgba(30, 41, 59, 0.65);
  padding: 12px 46px 12px 18px;
}

.top-search input:focus,
.mobile-search input:focus {
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.top-search button,
.mobile-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: white;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

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

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

.mobile-search {
  position: relative;
  margin-bottom: 14px;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.18)),
    linear-gradient(0deg, rgba(7, 11, 21, 0.96), transparent 42%);
}

.hero-content {
  position: absolute;
  left: max(32px, calc((100vw - 1180px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(680px, calc(100% - 64px));
  z-index: 2;
}

.hero-badge,
.card-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  box-shadow: 0 15px 30px rgba(34, 211, 238, 0.2);
}

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

.hero-content p {
  width: min(610px, 100%);
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.hero-meta span,
.detail-meta span,
.card-meta span {
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(15, 23, 42, 0.42);
}

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

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

.primary-action {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.28);
}

.ghost-action {
  color: #e0f2fe;
  border: 1px solid rgba(226, 232, 240, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.primary-action:hover,
.ghost-action:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.page-section {
  padding: 72px 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
}

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

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

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

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

.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

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

.latest-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
  align-items: stretch;
}

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

.movie-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 12px 34px rgba(2, 8, 23, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: var(--shadow);
}

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

.movie-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #0f172a;
  transition: transform 0.45s ease;
}

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

.card-play {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: white;
  background: rgba(15, 23, 42, 0.56);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(10px);
}

.movie-card:hover .card-play {
  opacity: 1;
  transform: scale(1);
}

.card-info {
  padding: 18px;
}

.card-info h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-info p {
  min-height: 46px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  gap: 8px;
  font-size: 12px;
}

.movie-card-large {
  min-height: 100%;
}

.movie-card-large img {
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
}

.movie-card-large .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.12));
}

.movie-card-large .card-info {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 28px;
}

.movie-card-horizontal .card-link {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
}

.movie-card-horizontal img {
  height: 100%;
  aspect-ratio: auto;
}

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

.category-band {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.84), rgba(8, 47, 73, 0.58));
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

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

.category-tile,
.category-overview-card,
.story-panel,
.panel-section {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 16px 44px rgba(2, 8, 23, 0.22);
}

.category-tile {
  overflow: hidden;
}

.category-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(59, 130, 246, 0.2));
}

.category-main span {
  font-size: 19px;
  font-weight: 900;
}

.category-main strong {
  color: var(--cyan);
  font-size: 13px;
}

.category-sample {
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
}

.category-sample a,
.mini-links a {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-sample a:hover,
.mini-links a:hover {
  color: var(--cyan);
}

.panel-section {
  padding: 34px;
}

.sub-page {
  padding-bottom: 76px;
}

.page-hero-small {
  padding: 72px 0 34px;
}

.page-hero-small span {
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.page-hero-small h1 {
  margin: 14px 0 12px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

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

.category-overview-card {
  overflow: hidden;
}

.category-cover-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px;
}

.category-cover-row img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.category-overview-copy {
  padding: 8px 22px 24px;
}

.category-overview-copy h2 {
  margin: 0 0 10px;
  font-size: 25px;
}

.category-overview-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

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

.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 16px;
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.66);
}

.filter-bar label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  outline: none;
  border-radius: 14px;
  color: #fff;
  background: rgba(30, 41, 59, 0.76);
  padding: 12px 14px;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(34, 211, 238, 0.75);
}

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

.ranking-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 32px;
}

.ranking-feature .movie-card-large {
  grid-row: span 4;
}

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

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

.rank-item a:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.45);
}

.rank-number {
  color: var(--cyan);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.rank-copy strong {
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy small {
  color: var(--muted);
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) saturate(1.2);
  transform: scale(1.08);
  opacity: 0.45;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.14), transparent 30rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.48), rgba(7, 11, 21, 1));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 34px 0 72px;
}

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

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

.detail-head-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 38px;
  align-items: end;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 820px;
  color: #dbeafe;
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  margin: 22px 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.tag-chip {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #c7d2fe;
  background: rgba(15, 23, 42, 0.52);
  padding: 8px 13px;
  font-size: 13px;
}

.player-section {
  margin-top: -46px;
  position: relative;
  z-index: 5;
}

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

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  color: white;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.2), rgba(2, 6, 23, 0.18) 34%, rgba(2, 6, 23, 0.72));
}

.player-cover span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  font-size: 42px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 22px 60px rgba(34, 211, 238, 0.28);
}

.player-cover.is-hidden {
  display: none;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 42px 0 0;
}

.story-panel {
  padding: 28px;
}

.story-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.story-panel p {
  margin: 0;
  color: #d6e3f5;
  line-height: 2;
}

.related-section {
  padding-top: 42px;
}

.search-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 92px 20px 24px;
  background: rgba(2, 6, 23, 0.74);
  backdrop-filter: blur(12px);
}

.search-drawer.is-open {
  display: flex;
}

.search-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 132px);
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: #0f172a;
  box-shadow: var(--shadow);
  padding: 28px;
}

.search-panel h2 {
  margin: 0 0 18px;
}

.search-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  background: rgba(30, 41, 59, 0.8);
}

.search-results {
  display: grid;
  gap: 12px;
}

.search-result {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.8);
}

.search-result img {
  width: 64px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
}

.search-result strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.search-result span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), #020617);
  color: var(--muted);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 36px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 42px;
}

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

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links h3 {
  margin: 0 0 8px;
  color: white;
}

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

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

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

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

  .hero-arrow {
    display: none;
  }

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

  .latest-layout,
  .ranking-feature,
  .detail-content,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }
}

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

  .brand-copy small {
    display: none;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    left: 20px;
    width: calc(100% - 40px);
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .archive-grid,
  .latest-grid,
  .category-grid,
  .rank-grid-home,
  .rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-card-horizontal .card-link,
  .rank-item a {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal img {
    aspect-ratio: 3 / 4;
  }

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

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

  .detail-poster {
    width: min(280px, 100%);
  }

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

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

@media (max-width: 480px) {
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .archive-grid,
  .latest-grid,
  .category-grid,
  .rank-grid-home,
  .rank-list {
    grid-template-columns: 1fr;
  }

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