* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-900: #78350f;
  --orange-50: #fff7ed;
  --orange-500: #f97316;
  --red-500: #ef4444;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --black: #000000;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.10);
  --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.25);
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--amber-50) 0%, #ffffff 42%, var(--slate-50) 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--amber-200);
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(120, 53, 15, 0.08);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 2rem));
  min-height: 4.25rem;
  margin: 0 auto;
}

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

.brand-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.35);
}

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

.brand-copy strong {
  color: var(--amber-900);
  font-size: 1.2rem;
}

.brand-copy small {
  color: var(--amber-700);
  font-size: 0.74rem;
}

.header-search,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search {
  flex: 1;
  max-width: 28rem;
}

.header-search input,
.mobile-search input,
.filter-box input,
.search-panel input {
  width: 100%;
  border: 1px solid var(--amber-200);
  outline: none;
  color: var(--slate-800);
  background: var(--white);
  border-radius: 999px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.header-search input,
.mobile-search input {
  padding: 0.7rem 1rem;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-box input:focus,
.search-panel input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.header-search button,
.mobile-search button,
.search-panel button {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  border-radius: 999px;
  padding: 0.68rem 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-link {
  color: var(--amber-900);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--amber-100);
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: var(--amber-900);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 1rem;
}

.mobile-nav.is-open {
  display: grid;
  gap: 0.7rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.7rem 0.9rem;
  color: var(--amber-900);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0.9rem;
  font-weight: 700;
}

.page-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero {
  position: relative;
  margin: 2rem 0 4rem;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  min-height: 31rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-strong);
  background: var(--slate-900);
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 31rem;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 158, 11, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.68) 44%, rgba(15, 23, 42, 0.16) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 54%);
}

.hero-content {
  position: absolute;
  left: clamp(1.4rem, 5vw, 4.5rem);
  bottom: clamp(1.4rem, 5vw, 4rem);
  width: min(42rem, calc(100% - 2.8rem));
  color: var(--white);
}

.hero-tags,
.hero-meta,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.hero-tags span {
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
}

.eyebrow {
  margin: 1rem 0 0.4rem;
  color: var(--amber-200);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 42rem;
  margin: 1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.hero-meta {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.32);
}

.button-glass {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 0;
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease;
}

.hero-control:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 5;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.hero-dot {
  width: 0.6rem;
  height: 0.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  transition: width 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
  width: 2rem;
  background: var(--amber-500);
}

.section-block {
  margin: 0 0 4rem;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.section-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  color: var(--white);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--red-500), var(--orange-500));
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.2);
}

.section-title h2,
.content-panel h1,
.content-panel h2 {
  margin: 0;
  color: var(--slate-900);
}

.section-title h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.section-title p {
  margin: 0.2rem 0 0;
  color: var(--slate-600);
}

.text-link {
  color: var(--amber-700);
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-700));
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.movie-card:hover .card-cover img {
  transform: scale(1.09);
  filter: brightness(0.78);
}

.play-float {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  color: var(--white);
  background: var(--amber-500);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.card-category,
.rank-badge {
  position: absolute;
  z-index: 2;
  color: var(--white);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.card-category {
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.35rem 0.65rem;
  background: var(--amber-500);
}

.rank-badge {
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.35rem 0.6rem;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  line-height: 1.45;
}

.card-body h3 a:hover {
  color: var(--amber-600);
}

.card-body p {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0 0 0.9rem;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta,
.detail-tags,
.breadcrumbs,
.rank-meta,
.movie-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.card-meta span,
.detail-tags span,
.movie-facts span {
  color: var(--slate-600);
  background: var(--slate-100);
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  font-size: 0.78rem;
}

.feature-band {
  margin: 4rem calc(50% - 50vw);
  padding: 4rem max(1rem, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, var(--amber-100), var(--orange-50));
}

.horizontal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.mini-card {
  display: flex;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.mini-card img {
  width: 8rem;
  height: 5.2rem;
  object-fit: cover;
  border-radius: 0.8rem;
}

.mini-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.mini-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.86rem;
  line-height: 1.55;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.category-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.category-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--slate-200);
}

.category-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.category-card-body {
  padding: 1rem;
}

.category-card-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.category-card-body p {
  margin: 0 0 0.8rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.category-card-body span {
  color: var(--amber-700);
  font-weight: 800;
}

.page-hero,
.content-panel,
.search-panel {
  border: 1px solid rgba(226, 232, 240, 0.86);
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.page-hero {
  padding: clamp(1.6rem, 4vw, 3rem);
  margin: 2rem 0 2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 235, 0.92));
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
}

.page-hero p {
  max-width: 48rem;
  margin: 0;
  color: var(--slate-600);
  font-size: 1.08rem;
  line-height: 1.8;
}

.breadcrumbs {
  margin-bottom: 1rem;
  color: var(--slate-500);
  font-size: 0.9rem;
}

.breadcrumbs a:hover {
  color: var(--amber-600);
}

.filter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
}

.filter-box input {
  max-width: 28rem;
  padding: 0.75rem 1rem;
}

.filter-count {
  color: var(--slate-600);
  font-weight: 700;
}

.rank-list {
  display: grid;
  gap: 1rem;
}

.rank-row {
  display: grid;
  grid-template-columns: 4rem 9rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rank-number {
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  border-radius: 1rem;
  font-weight: 900;
}

.rank-thumb img {
  width: 9rem;
  height: 5.4rem;
  object-fit: cover;
  border-radius: 0.85rem;
}

.rank-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.rank-content h3 a:hover {
  color: var(--amber-600);
}

.rank-content p {
  margin: 0 0 0.55rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.rank-meta {
  color: var(--slate-500);
  font-size: 0.83rem;
}

.detail-page {
  background: linear-gradient(180deg, var(--slate-900) 0%, var(--slate-800) 36rem, var(--slate-50) 36rem);
}

.detail-page .site-header {
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.98), rgba(255, 247, 237, 0.98));
}

.detail-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.detail-breadcrumbs {
  color: rgba(255, 255, 255, 0.74);
}

.player-shell {
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--black);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-strong);
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-poster-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 48%);
}

.player-overlay-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%);
}

.video-wrap.is-playing .player-overlay-button,
.video-wrap.is-playing .video-poster-shade {
  display: none;
}

.detail-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 2rem;
  margin-bottom: 2rem;
}

.detail-copy,
.detail-side,
.content-panel {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.detail-copy {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.detail-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.detail-one-line {
  margin: 0 0 1.2rem;
  color: var(--slate-600);
  font-size: 1.08rem;
  line-height: 1.8;
}

.detail-side {
  overflow: hidden;
}

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

.detail-side-body {
  padding: 1.1rem;
}

.movie-facts {
  margin-top: 0.7rem;
}

.content-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.content-panel h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.content-panel h2::before {
  content: "";
  display: block;
  width: 0.35rem;
  height: 1.6rem;
  background: linear-gradient(180deg, var(--amber-500), var(--orange-500));
  border-radius: 999px;
}

.content-panel p {
  color: var(--slate-700);
  line-height: 1.9;
}

.search-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.search-panel form {
  display: flex;
  gap: 0.8rem;
}

.search-panel input {
  padding: 0.9rem 1rem;
}

.search-empty {
  padding: 2rem;
  color: var(--slate-600);
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
}

.site-footer {
  margin-top: 4rem;
  color: var(--slate-300);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: var(--amber-400);
  font-size: 1.1rem;
}

.site-footer p {
  margin: 0;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

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

.copyright {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: var(--slate-400);
  text-align: center;
}

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

@media (max-width: 1040px) {
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .detail-side {
    display: grid;
    grid-template-columns: 14rem 1fr;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero-frame,
  .hero-image {
    min-height: 34rem;
  }

  .hero-control {
    display: none;
  }

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

  .filter-box,
  .section-heading,
  .search-panel form {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-box input {
    max-width: none;
  }

  .rank-row {
    grid-template-columns: 3.4rem 7rem 1fr;
  }

  .rank-thumb img {
    width: 7rem;
    height: 4.6rem;
  }

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

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

  .brand-copy small {
    display: none;
  }

  .hero {
    margin-top: 1rem;
  }

  .hero-frame,
  .hero-image {
    min-height: 31rem;
    border-radius: 1.2rem;
  }

  .hero-content {
    left: 1.1rem;
    bottom: 3.2rem;
    width: calc(100% - 2.2rem);
  }

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

  .button {
    width: 100%;
  }

  .movie-grid,
  .category-grid,
  .horizontal-list {
    grid-template-columns: 1fr;
  }

  .mini-card,
  .detail-side {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .mini-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .rank-row {
    grid-template-columns: 3rem 1fr;
  }

  .rank-thumb {
    display: none;
  }
}
