* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1f2937;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 46%, rgba(207, 250, 254, 0.45) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.94);
  color: #e5faff;
  border-bottom: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(18px);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-logo span:last-child {
  background: linear-gradient(90deg, #67e8f9, #2dd4bf);
  -webkit-background-clip: text;
  color: transparent;
  font-size: 20px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  background: linear-gradient(135deg, #22d3ee, #14b8a6);
  box-shadow: 0 10px 28px rgba(20, 184, 166, 0.36);
}

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

.site-nav > a,
.nav-categories > button {
  color: #dffafe;
  border: 0;
  background: transparent;
  padding: 8px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a.is-active,
.nav-categories:hover > button {
  color: #67e8f9;
}

.nav-categories {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 190px;
  padding: 10px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-categories:hover .nav-dropdown,
.nav-categories:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: #dffafe;
}

.nav-dropdown a:hover {
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 310px;
}

.header-search input,
.search-form input,
.filter-input,
.filter-select {
  width: 100%;
  border: 1px solid rgba(8, 145, 178, 0.22);
  border-radius: 14px;
  padding: 11px 14px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  color: #e0faff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(103, 232, 249, 0.28);
}

.header-search input::placeholder {
  color: rgba(224, 250, 254, 0.55);
}

.header-search input:focus,
.search-form input:focus,
.filter-input:focus,
.filter-select:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.header-search button,
.search-form button,
.primary-btn,
.ghost-btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, #06b6d4, #14b8a6);
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-search button:hover,
.search-form button:hover,
.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.04);
  box-shadow: 0 16px 34px rgba(20, 184, 166, 0.34);
}

.ghost-btn {
  color: #0891b2;
  background: #ffffff;
  border: 1px solid rgba(6, 182, 212, 0.22);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #e0faff;
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 480px;
  margin: 26px 24px 56px;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  right: clamp(24px, 6vw, 72px);
  bottom: clamp(36px, 8vw, 82px);
  max-width: 780px;
  color: #ffffff;
}

.hero-kicker,
.badge-row span,
.card-tags span,
.detail-tags span,
.category-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-kicker {
  gap: 10px;
  margin-bottom: 18px;
}

.hero-kicker span {
  padding: 6px 12px;
  background: rgba(6, 182, 212, 0.92);
}

.hero-kicker em {
  font-style: normal;
  color: #d1d5db;
}

.hero-content h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 28px;
  color: #e5e7eb;
  font-size: clamp(16px, 2vw, 20px);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.48);
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.06);
}

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

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

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

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #ffffff;
}

.page-shell,
.section,
.detail-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  margin-top: 58px;
  margin-bottom: 58px;
}

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

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.18;
}

.section-heading h1 span,
.section-heading h2 span {
  display: inline-block;
  width: 5px;
  height: 34px;
  margin-right: 12px;
  border-radius: 999px;
  vertical-align: -6px;
  background: linear-gradient(180deg, #06b6d4, #14b8a6);
}

.section-heading p,
.page-intro {
  max-width: 760px;
  margin: 8px 0 0;
  color: #64748b;
}

.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 22px;
}

.featured-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 22px;
  background: #0f172a;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
  transform: translateZ(0);
}

.featured-card:first-child {
  grid-row: span 2;
  min-height: 586px;
}

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

.featured-card:hover img,
.movie-card:hover img,
.mini-card:hover img,
.category-card:hover img {
  transform: scale(1.08);
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.34) 52%, rgba(0, 0, 0, 0.04));
}

.featured-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #ffffff;
}

.featured-info strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.18;
}

.featured-info p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #d1d5db;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-row span {
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.9);
}

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.movie-grid.compact .poster-wrap,
.movie-card.poster .poster-wrap {
  aspect-ratio: 3 / 4;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 68%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.card-type {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  opacity: 0;
  background: #06b6d4;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.34);
}

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

.movie-card-body {
  display: block;
  padding: 16px;
}

.movie-card-body strong,
.mini-card strong,
.category-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover strong,
.mini-card:hover strong,
.category-card:hover strong {
  color: #0891b2;
}

.card-meta,
.card-line,
.mini-card small {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.card-meta {
  margin-top: 8px;
}

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

.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.card-tags span,
.detail-tags span {
  padding: 4px 9px;
  color: #0e7490;
  background: rgba(6, 182, 212, 0.1);
}

.scroller {
  position: relative;
}

.scroller-track {
  display: grid;
  grid-auto-columns: minmax(210px, 255px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 2px 18px;
  scrollbar-width: thin;
}

.scroll-actions {
  display: flex;
  gap: 8px;
}

.scroll-actions button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 48px 80px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.14);
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
}

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

.rank-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: #1f2937;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-item em {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
  font-style: normal;
}

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

.category-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 16px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card img {
  width: 140px;
  height: 105px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.category-card p {
  margin: 8px 0 12px;
  color: #64748b;
}

.category-pill {
  padding: 5px 11px;
  color: #0e7490;
  background: rgba(6, 182, 212, 0.1);
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 14px;
  align-items: center;
  margin: 28px 0 26px;
  padding: 18px;
  border: 1px solid rgba(6, 182, 212, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.detail-shell {
  padding-top: 32px;
  padding-bottom: 64px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: #64748b;
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: #0891b2;
}

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

.detail-main,
.detail-side,
.player-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

.detail-main {
  overflow: hidden;
}

.player-card {
  padding: 18px;
}

.player-stage {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.player-stage video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.16));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 36px;
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
  box-shadow: 0 20px 44px rgba(6, 182, 212, 0.34);
}

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

.detail-body {
  padding: 28px;
}

.detail-body h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

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

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
}

.detail-lead {
  color: #475569;
  font-size: 18px;
}

.detail-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.detail-section h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 24px;
}

.detail-section p {
  margin: 0;
  color: #374151;
}

.detail-side {
  padding: 18px;
}

.detail-side h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.side-list {
  display: grid;
  gap: 14px;
}

.mini-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
}

.mini-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: #0f172a;
}

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

.mini-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  opacity: 0;
  background: #06b6d4;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.search-hero {
  margin-top: 34px;
  padding: clamp(30px, 6vw, 70px);
  border-radius: 28px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 10%, rgba(103, 232, 249, 0.38), transparent 36%), linear-gradient(135deg, #0f172a, #164e63 54%, #0f766e);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.search-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 50px);
}

.search-hero p {
  max-width: 760px;
  margin: 0 0 26px;
  color: #dffafe;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 720px;
}

.empty-state {
  padding: 56px 24px;
  border-radius: 24px;
  color: #64748b;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.site-footer {
  margin-top: 72px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
}

.footer-logo span:last-child {
  color: #ffffff;
  font-size: 20px;
}

.footer-inner p {
  max-width: 460px;
  color: #94a3b8;
}

.footer-inner h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.footer-inner a:not(.footer-logo) {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
}

.footer-inner a:hover {
  color: #67e8f9;
}

.footer-bottom {
  padding: 18px 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 14px;
  }

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

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

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

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

@media (max-width: 860px) {
  .header-inner {
    min-height: auto;
    padding: 14px 18px;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 5;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 4px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-top: 8px;
  }

  .header-search {
    order: 4;
    width: 100%;
    min-width: 0;
    display: none;
  }

  .site-header.search-open .header-search,
  .site-nav.is-open + .header-search {
    display: flex;
  }

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

  .hero-carousel {
    height: 62vh;
    min-height: 430px;
    margin: 18px 14px 42px;
    border-radius: 22px;
  }

  .hero-arrow {
    display: none;
  }

  .featured-grid,
  .category-overview,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .featured-card:first-child {
    min-height: 380px;
  }

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

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

@media (max-width: 560px) {
  .page-shell,
  .section,
  .detail-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section {
    margin-top: 42px;
    margin-bottom: 42px;
  }

  .site-logo span:last-child {
    font-size: 18px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-btn,
  .ghost-btn {
    text-align: center;
  }

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

  .rank-item {
    grid-template-columns: 42px 72px 1fr;
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-card img {
    width: 100%;
    height: 180px;
  }

  .search-form {
    flex-direction: column;
  }

  .detail-body {
    padding: 20px;
  }
}
