:root {
  --ocean-deep: #0a4a6b;
  --ocean-blue: #1a7fa0;
  --ocean-light: #4fb3d4;
  --sand-light: #f5ebe0;
  --sand-warm: #e3d5ca;
  --coral-accent: #ff6b6b;
  --coral-light: #ff9999;
  --seafoam: #88d4ab;
  --sunset-orange: #ff9f1c;
  --cloud-white: #ffffff;
  --mist-gray: #f8f9fa;
  --charcoal: #2c3e50;
  --text-dark: #1a1a1a;
  --text-gray: #6c757d;
  --shadow-soft: 0 18px 45px rgba(10, 74, 107, 0.16);
  --shadow-strong: 0 24px 70px rgba(10, 74, 107, 0.28);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(79, 179, 212, 0.18), transparent 32rem),
    linear-gradient(180deg, var(--sand-light), #fffaf5 36rem, var(--mist-gray));
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--cloud-white);
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-blue) 56%, var(--ocean-light) 100%);
  box-shadow: 0 14px 42px rgba(10, 74, 107, 0.32);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.brand-mark span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--seafoam);
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

.nav-link {
  position: relative;
  padding: 8px 0;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.92);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--seafoam);
  transition: width 0.24s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-search {
  width: min(320px, 28vw);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.header-search input,
.mobile-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  color: var(--cloud-white);
  background: transparent;
}

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

.header-search button,
.mobile-search button {
  border: 0;
  padding: 10px 16px;
  color: var(--ocean-deep);
  background: var(--seafoam);
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--cloud-white);
}

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

.mobile-panel.open {
  display: block;
  animation: fadeIn 0.25s ease;
}

.mobile-search {
  display: flex;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
}

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

.mobile-link,
.mobile-cats a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(10, 74, 107, 0.34);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
}

.mobile-link.active {
  color: var(--seafoam);
}

main {
  overflow: hidden;
}

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

.hero {
  position: relative;
  min-height: 620px;
  color: var(--cloud-white);
  background: var(--ocean-deep);
}

.hero-track {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 74, 107, 0.94) 0%, rgba(10, 74, 107, 0.74) 38%, rgba(10, 74, 107, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 74, 107, 0.82) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 46px;
  padding: 92px 0 86px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ocean-deep);
  background: var(--seafoam);
  font-size: 0.92rem;
  font-weight: 900;
}

.hero-title {
  max-width: 760px;
  margin: 20px 0 18px;
  font-size: clamp(2.45rem, 5vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-desc {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
}

.hero-tags,
.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.movie-tags span,
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 750;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 15px;
  font-weight: 850;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ocean-deep);
  background: var(--seafoam);
  box-shadow: 0 16px 34px rgba(136, 212, 171, 0.25);
}

.btn-primary:hover {
  background: #a3ecc3;
}

.btn-secondary {
  color: var(--cloud-white);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-coral {
  color: var(--cloud-white);
  background: linear-gradient(135deg, var(--sunset-orange), var(--coral-accent));
  box-shadow: 0 14px 30px rgba(255, 107, 107, 0.24);
}

.hero-panel {
  align-self: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), var(--shadow-strong);
  backdrop-filter: blur(14px);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero-panel h2 {
  margin: 16px 0 6px;
  font-size: 1.25rem;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

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

.hero-dot.is-active {
  width: 34px;
  background: var(--seafoam);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.48);
}

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

.section-eyebrow {
  margin: 0 0 8px;
  color: var(--ocean-blue);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--ocean-deep);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.section-heading p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--text-gray);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--ocean-deep);
  background: rgba(79, 179, 212, 0.14);
  font-weight: 850;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cloud-white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(10, 74, 107, 0.24);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-light));
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(10, 74, 107, 0.76), transparent);
}

.rank-number {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 38px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ocean-deep);
  background: var(--seafoam);
  font-weight: 950;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

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

.movie-meta {
  margin: 0 0 8px;
  color: var(--ocean-blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.movie-title {
  margin: 0 0 10px;
  color: var(--charcoal);
  font-size: 1.16rem;
  line-height: 1.25;
}

.movie-title a:hover {
  color: var(--ocean-blue);
}

.movie-intro {
  display: -webkit-box;
  min-height: 3.3em;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--text-gray);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card .movie-tags span {
  color: var(--ocean-deep);
  background: rgba(79, 179, 212, 0.12);
}

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

.movie-card.compact .movie-title {
  font-size: 1rem;
}

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

.category-tile {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: var(--cloud-white);
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-blue) 58%, var(--ocean-light));
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.category-tile h2,
.category-tile h3 {
  margin: 0 0 10px;
  font-size: 1.38rem;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.category-tile span {
  align-self: flex-start;
  margin-top: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--ocean-deep);
  background: var(--seafoam);
  font-weight: 900;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.filter-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 13px 16px;
  border-radius: 16px;
  color: var(--text-dark);
  background: var(--mist-gray);
  box-shadow: inset 0 0 0 1px rgba(10, 74, 107, 0.08);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chips button {
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ocean-deep);
  background: rgba(79, 179, 212, 0.14);
  font-weight: 800;
  transition: background 0.24s ease, color 0.24s ease;
}

.filter-chips button:hover,
.filter-chips button.active {
  color: var(--cloud-white);
  background: var(--ocean-blue);
}

.no-results {
  display: none;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: var(--text-gray);
  background: var(--cloud-white);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.no-results.show {
  display: block;
}

.page-hero {
  padding: 74px 0 46px;
  color: var(--cloud-white);
  background:
    radial-gradient(circle at 82% 16%, rgba(136, 212, 171, 0.32), transparent 26rem),
    linear-gradient(135deg, var(--ocean-deep), var(--ocean-blue));
}

.page-hero .container {
  display: grid;
  gap: 16px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

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

.page-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.detail-main {
  padding: 58px 0 82px;
}

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

.detail-poster {
  position: sticky;
  top: 112px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cloud-white);
  box-shadow: var(--shadow-strong);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-poster .poster-info {
  padding: 18px;
}

.detail-poster h2 {
  margin: 0 0 8px;
  color: var(--ocean-deep);
  font-size: 1.2rem;
}

.detail-poster p {
  margin: 0;
  color: var(--text-gray);
}

.detail-content {
  display: grid;
  gap: 26px;
}

.info-card,
.player-card,
.related-card {
  border-radius: var(--radius-lg);
  background: var(--cloud-white);
  box-shadow: var(--shadow-soft);
}

.info-card {
  padding: 28px;
}

.info-card h2,
.player-card h2,
.related-card h2 {
  margin: 0 0 16px;
  color: var(--ocean-deep);
  font-size: 1.55rem;
}

.info-card p {
  margin: 0 0 16px;
  color: var(--text-dark);
}

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

.info-list div {
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--ocean-deep);
  background: rgba(79, 179, 212, 0.1);
  font-weight: 800;
}

.player-card {
  overflow: hidden;
}

.player-card h2 {
  padding: 24px 28px 0;
}

.player-shell {
  position: relative;
  margin: 18px;
  overflow: hidden;
  border-radius: 22px;
  background: #061d2b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: var(--cloud-white);
  background:
    linear-gradient(0deg, rgba(6, 29, 43, 0.72), rgba(6, 29, 43, 0.18)),
    rgba(6, 29, 43, 0.2);
  font-size: 1.05rem;
  font-weight: 900;
}

.player-cover img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px) brightness(0.58);
  transform: scale(1.02);
}

.play-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ocean-deep);
  background: var(--seafoam);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  font-size: 2rem;
}

.player-shell.is-playing .player-cover {
  display: none;
}

.related-card {
  padding: 28px;
}

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

.mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(79, 179, 212, 0.1);
  transition: background 0.24s ease, transform 0.24s ease;
}

.mini-card:hover {
  transform: translateY(-3px);
  background: rgba(79, 179, 212, 0.18);
}

.mini-card img {
  width: 66px;
  height: 86px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

.mini-card strong {
  display: block;
  color: var(--charcoal);
  line-height: 1.3;
}

.mini-card em {
  display: block;
  margin-top: 4px;
  color: var(--text-gray);
  font-size: 0.86rem;
  font-style: normal;
}

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

.pager-links a {
  padding: 18px;
  border-radius: 18px;
  color: var(--ocean-deep);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  font-weight: 850;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 72px 110px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--cloud-white);
  box-shadow: var(--shadow-soft);
}

.ranking-index {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--ocean-deep);
  background: var(--seafoam);
  font-size: 1.2rem;
  font-weight: 950;
}

.ranking-row img {
  width: 92px;
  height: 120px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-row h2 {
  margin: 0 0 8px;
  color: var(--charcoal);
  font-size: 1.22rem;
}

.ranking-row p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-gray);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ranking-row .btn {
  min-height: 42px;
}

.site-footer {
  color: var(--cloud-white);
  background: var(--ocean-deep);
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 42px;
}

.footer-brand p {
  max-width: 460px;
  color: var(--ocean-light);
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-col {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-col h2 {
  margin: 0 0 8px;
  color: var(--seafoam);
  font-size: 1.08rem;
}

.footer-col a {
  color: var(--ocean-light);
}

.footer-col a:hover {
  color: var(--cloud-white);
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(79, 179, 212, 0.32);
}

.footer-bottom p {
  margin: 0;
  color: var(--ocean-light);
}

.footer-bottom button {
  border: 0;
  padding: 9px 14px;
  border-radius: 12px;
  color: var(--cloud-white);
  background: var(--ocean-blue);
  font-weight: 800;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

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

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

  .hero-content {
    grid-template-columns: 1fr 300px;
  }

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

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

@media (max-width: 860px) {
  .hero,
  .hero-track {
    min-height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero-panel {
    max-width: 360px;
  }

  .section-heading {
    display: block;
  }

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

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

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

  .detail-poster {
    position: static;
    max-width: 380px;
  }

  .ranking-row {
    grid-template-columns: 54px 78px minmax(0, 1fr);
  }

  .ranking-row .btn {
    grid-column: 2 / -1;
    width: fit-content;
  }

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

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

  .brand-text {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .hero,
  .hero-track {
    min-height: 720px;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .hero-actions,
  .pager-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .movie-grid,
  .movie-grid.compact-grid,
  .category-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 46px 72px minmax(0, 1fr);
    gap: 12px;
  }

  .ranking-index {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .ranking-row img {
    width: 72px;
    height: 96px;
  }

  .footer-bottom {
    display: grid;
  }
}
