:root {
  --site-blue: #2563eb;
  --site-blue-dark: #1e3a8a;
  --site-cyan: #06b6d4;
  --site-bg: #f8fafc;
  --site-text: #0f172a;
  --site-muted: #64748b;
  --site-card: #ffffff;
  --site-border: rgba(15, 23, 42, 0.08);
  --site-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

body {
  min-height: 100vh;
  background: var(--site-bg);
  color: var(--site-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.no-scroll {
  overflow: hidden;
}

img {
  background: linear-gradient(135deg, #1e3a8a, #0891b2);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #2563eb, #1d4ed8 48%, #0891b2);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.24);
  color: #fff;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 68px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--site-blue);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

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

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-current {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.header-search {
  width: min(330px, 28vw);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.header-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 0 10px 16px;
  color: #fff;
  background: transparent;
  outline: none;
}

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

.header-search button {
  padding: 10px 16px;
  font-weight: 800;
  color: #fff;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  align-items: center;
  justify-content: center;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 68px 0 auto 0;
  background: linear-gradient(180deg, #1d4ed8, #0891b2);
  padding: 18px 20px 26px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

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

.mobile-panel a {
  display: block;
  padding: 13px 12px;
  color: #fff;
  font-weight: 800;
  border-radius: 14px;
}

.mobile-panel a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mobile-panel .header-search {
  width: 100%;
  margin-top: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: #fff;
  background: linear-gradient(135deg, #172554, #1d4ed8 48%, #0e7490);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.45), transparent 35%), radial-gradient(circle at 80% 10%, rgba(147, 197, 253, 0.25), transparent 28%);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.72));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.05) contrast(1.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 44px;
  padding: 76px 20px 82px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-weight: 800;
  color: #cffafe;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: #67e8f9;
}

.hero-description {
  max-width: 720px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
}

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

.btn-primary,
.btn-ghost,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: #fff;
  color: #1e3a8a;
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.15);
}

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

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.btn-light {
  color: var(--site-blue-dark);
  background: #eff6ff;
}

.hero-poster-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  transform: perspective(900px) rotateY(-5deg);
}

.hero-poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-poster-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 68px 24px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

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

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

.section {
  padding: 56px 20px;
}

.section-soft {
  background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-eyebrow {
  margin-bottom: 8px;
  color: var(--site-blue);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-desc {
  margin-top: 10px;
  max-width: 700px;
  color: var(--site-muted);
  line-height: 1.8;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  box-shadow: var(--site-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.category-icon {
  font-size: 38px;
  font-weight: 900;
}

.category-card h3 {
  margin: 18px 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.category-card p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.tone-blue {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

.tone-cyan {
  background: linear-gradient(135deg, #0891b2, #0e7490);
}

.tone-indigo {
  background: linear-gradient(135deg, #4f46e5, #3730a3);
}

.tone-violet {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.tone-emerald {
  background: linear-gradient(135deg, #059669, #047857);
}

.tone-orange {
  background: linear-gradient(135deg, #ea580c, #c2410c);
}

.tone-rose {
  background: linear-gradient(135deg, #e11d48, #be123c);
}

.tone-sky {
  background: linear-gradient(135deg, #0284c7, #0369a1);
}

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

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

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

.card-link {
  display: block;
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #1e3a8a, #0e7490);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.card-link:hover .poster-wrap img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.08));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.card-link:hover .poster-overlay {
  opacity: 1;
}

.play-badge {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--site-blue);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.corner-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(220, 38, 38, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.score-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #172554;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.card-title {
  margin: 10px 0 5px;
  color: var(--site-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link:hover .card-title {
  color: var(--site-blue);
}

.card-meta,
.card-desc {
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.55;
}

.card-desc {
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 50px 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--site-border);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.4);
}

.rank-number {
  color: var(--site-blue);
  font-size: 20px;
  font-weight: 950;
  text-align: center;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 12px;
  background: #dbeafe;
}

.rank-thumb img {
  width: 74px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.rank-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.rank-desc {
  margin-top: 4px;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-score {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  font-weight: 900;
}

.filter-panel {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--site-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-input,
.filter-select {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #f8fafc;
  color: var(--site-text);
  padding: 0 16px;
  outline: none;
}

.filter-input {
  flex: 1;
  min-width: 220px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #334155;
  background: #eef2ff;
  font-weight: 800;
}

.filter-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0891b2);
}

.filter-empty {
  display: none;
  padding: 36px;
  text-align: center;
  color: var(--site-muted);
  border-radius: 24px;
  background: #fff;
  border: 1px dashed rgba(148, 163, 184, 0.55);
}

.filter-empty.is-visible {
  display: block;
}

.page-hero {
  color: #fff;
  background: linear-gradient(135deg, #172554, #1d4ed8 55%, #0e7490);
  overflow: hidden;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 62px 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin-top: 14px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.8;
}

.detail-hero {
  position: relative;
  color: #fff;
  background: #020617;
  overflow: hidden;
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.88));
}

.detail-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 20px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.42);
}

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

.detail-content h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.04em;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  color: #eff6ff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
  font-size: 13px;
}

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

.content-card {
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--site-border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  padding: 26px;
}

.content-card + .content-card {
  margin-top: 22px;
}

.content-card h2,
.content-card h3 {
  margin: 0 0 14px;
  font-weight: 950;
  line-height: 1.2;
}

.content-card h2 {
  font-size: 28px;
}

.content-card h3 {
  font-size: 22px;
}

.content-card p {
  color: #334155;
  line-height: 1.95;
  font-size: 16px;
}

.meta-table {
  display: grid;
  gap: 10px;
}

.meta-table div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.meta-table dt {
  color: var(--site-muted);
  font-weight: 800;
}

.meta-table dd {
  text-align: right;
  color: var(--site-text);
  font-weight: 900;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(0, 0, 0, 0.54));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-shell.is-started .player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-button {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--site-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.player-button:hover {
  transform: scale(1.08);
}

.side-stack {
  position: sticky;
  top: 90px;
}

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

.mini-link {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--site-border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-link:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
}

.mini-link img {
  width: 62px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.mini-link strong {
  display: block;
  color: var(--site-text);
  line-height: 1.45;
  font-size: 14px;
}

.mini-link span {
  display: block;
  color: var(--site-muted);
  margin-top: 4px;
  font-size: 12px;
}

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

.site-footer {
  margin-top: auto;
  color: #dbeafe;
  background: linear-gradient(135deg, #0f172a, #172554);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover {
  color: #fff;
}

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

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

@media (max-width: 980px) {
  .main-nav,
  .site-header > .header-inner > .header-search {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-content,
  .detail-inner,
  .detail-layout,
  .rank-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster-card {
    max-width: 340px;
    transform: none;
  }

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

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

  .side-stack {
    position: static;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0 14px;
  }

  .logo span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .hero-content {
    padding-top: 54px;
    padding-bottom: 86px;
  }

  .hero-arrow {
    display: none;
  }

  .section {
    padding: 42px 14px;
  }

  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .movie-grid,
  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .rank-item {
    grid-template-columns: 40px 62px minmax(0, 1fr);
  }

  .rank-score {
    grid-column: 3;
    justify-self: start;
  }

  .detail-inner {
    padding: 40px 14px;
  }

  .content-card {
    padding: 20px;
  }
}

@media (max-width: 460px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

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

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