:root {
  --red-950: #430b0b;
  --red-900: #7f1d1d;
  --red-800: #991b1b;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-300: #fcd34d;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --paper: #fffaf0;
  --white: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(146, 64, 14, 0.18);
  --shadow: 0 18px 45px rgba(127, 29, 29, 0.16);
  --soft-shadow: 0 10px 25px rgba(127, 29, 29, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--amber-50), #fff1f2 45%, var(--amber-50));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(254, 242, 242, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 2px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 10px 25px rgba(127, 29, 29, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1180px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  padding-left: 3px;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 12px 25px rgba(185, 28, 28, 0.25);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(4deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  color: var(--red-900);
  font-size: 25px;
  letter-spacing: 0.03em;
}

.brand-text small {
  color: var(--amber-700);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--red-900);
  font-weight: 650;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--amber-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--amber-700);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: var(--red-900);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.mobile-nav {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px 22px;
  border-top: 1px solid rgba(217, 119, 6, 0.28);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--red-900);
  font-weight: 650;
}

.mobile-nav a:hover {
  background: var(--amber-100);
}

.hero-slider {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.42), transparent 26%), linear-gradient(110deg, var(--red-950), var(--red-900) 45%, var(--amber-800));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: pulsePattern 6s ease-in-out infinite;
}

@keyframes pulsePattern {
  0%, 100% {
    opacity: 0.12;
  }

  50% {
    opacity: 0.24;
  }
}

.hero-inner {
  position: relative;
  max-width: 1180px;
  min-height: 520px;
  margin: 0 auto;
  padding: 54px 24px;
}

.hero-slide {
  position: absolute;
  inset: 54px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 42px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-copy {
  max-width: 720px;
}

.hero-eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--amber-800);
  background: rgba(254, 243, 199, 0.92);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-copy h1 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 0 0 18px;
  color: var(--amber-300);
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.12;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 28px;
  color: #ffedd5;
  font-size: 19px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.32);
}

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

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

.hero-meta span {
  padding: 7px 11px;
  border-radius: 10px;
  color: #fffbeb;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
}

.hero-poster {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.45));
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-poster:hover img {
  transform: scale(1.06);
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: var(--amber-300);
}

.quick-search-section,
.content-section,
.category-showcase,
.rank-page-section,
.search-results-section,
.detail-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px;
}

.quick-search-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 24px;
  align-items: center;
  margin-top: -38px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  border: 2px solid rgba(252, 211, 77, 0.55);
  position: relative;
  z-index: 2;
}

.quick-search-card h2,
.section-heading h2,
.page-hero h1,
.movie-detail-card h1 {
  margin: 0;
  color: var(--red-900);
  line-height: 1.18;
}

.site-search,
.inline-filter {
  display: flex;
  gap: 10px;
}

.site-search input,
.inline-filter input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid rgba(217, 119, 6, 0.28);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.site-search input:focus,
.inline-filter input:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.site-search button {
  min-width: 104px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
}

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

.section-heading h2 {
  font-size: clamp(27px, 3vw, 38px);
}

.section-heading-light h2 {
  color: var(--white);
}

.section-more {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--red-900);
  background: var(--amber-100);
  border: 1px solid rgba(217, 119, 6, 0.28);
  font-weight: 800;
  white-space: nowrap;
}

.section-heading-light .section-more {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  border: 2px solid transparent;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: var(--amber-500);
  box-shadow: var(--shadow);
}

.movie-poster {
  position: relative;
  display: block;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.92), rgba(217, 119, 6, 0.82));
}

.movie-card-large .movie-poster {
  height: 340px;
}

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.64));
  opacity: 0.85;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red-600);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-year {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red-600);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(127, 29, 29, 0.25);
}

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

.movie-card-body h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.28;
}

.movie-card-body h2 a:hover {
  color: var(--red-800);
}

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

.movie-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.movie-tags span,
.detail-tags span {
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--amber-800);
  background: var(--amber-50);
  border: 1px solid rgba(217, 119, 6, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.band-section {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--red-950), var(--amber-900));
}

.band-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.rank-mini {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-radius: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-mini:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
}

.rank-number,
.rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  font-weight: 900;
}

.rank-mini strong,
.rank-mini small {
  grid-column: 2;
}

.rank-mini strong {
  display: block;
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-mini small {
  color: #fde68a;
}

.category-showcase {
  padding-top: 20px;
}

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

.category-tile,
.category-card {
  display: block;
  min-height: 190px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(252, 211, 77, 0.48);
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--amber-500);
  box-shadow: var(--shadow);
}

.category-tile span,
.category-card h2 {
  display: block;
  margin: 0 0 10px;
  color: var(--red-900);
  font-size: 22px;
  font-weight: 900;
}

.category-tile p,
.category-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.category-tile ul,
.category-samples {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--amber-800);
  font-size: 13px;
}

.category-tile li,
.category-samples li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 36px;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 52px);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0;
  color: var(--amber-800);
  font-size: 14px;
}

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

.inline-filter {
  max-width: 560px;
}

.category-card-main {
  display: block;
}

.category-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding-left: 3px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
}

.rank-page-section,
.search-results-section {
  padding-top: 18px;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-row-link,
.search-result-link {
  display: grid;
  grid-template-columns: 56px 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(127, 29, 29, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-result-link {
  grid-template-columns: 76px minmax(0, 1fr);
}

.rank-row-link:hover,
.search-result-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}

.rank-row-link img,
.search-result-link img,
.compact-card img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.92), rgba(217, 119, 6, 0.82));
}

.search-result-link img {
  width: 76px;
  height: 106px;
}

.rank-row-copy,
.search-result-copy {
  min-width: 0;
}

.rank-row-copy strong,
.search-result-copy strong {
  display: block;
  color: var(--red-900);
  font-size: 18px;
}

.rank-row-copy small,
.search-result-copy small,
.compact-card small {
  display: block;
  color: var(--amber-800);
  font-size: 13px;
}

.rank-row-copy em,
.search-result-copy em {
  display: block;
  color: var(--muted);
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.empty-state {
  margin: 28px auto;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.detail-main {
  min-width: 0;
}

.player-card,
.movie-detail-card,
.side-card {
  border-radius: 24px;
  background: var(--white);
  border: 2px solid rgba(252, 211, 77, 0.45);
  box-shadow: var(--soft-shadow);
}

.player-card {
  padding: 14px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.62));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-size: 32px;
}

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

.player-message {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(127, 29, 29, 0.88);
  transform: translate(-50%, -50%);
}

.movie-detail-card {
  margin-top: 24px;
  padding: 30px;
}

.movie-detail-card h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
}

.detail-lead {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 650;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  font-size: 13px;
  font-weight: 800;
}

.movie-detail-card section {
  margin-top: 26px;
}

.movie-detail-card h2,
.side-card h2 {
  margin: 0 0 12px;
  color: var(--red-900);
}

.movie-detail-card p {
  margin: 0;
  color: #374151;
  font-size: 16px;
}

.detail-side {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 18px;
}

.poster-side-card img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.92), rgba(217, 119, 6, 0.82));
}

.poster-side-card p {
  margin: 0;
  color: var(--muted);
}

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

.compact-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.compact-card img {
  width: 58px;
  height: 76px;
}

.compact-card strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.site-footer {
  margin-top: 48px;
  color: #fffbeb;
  background: linear-gradient(100deg, var(--red-950), var(--amber-900), var(--red-950));
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 32px;
}

.footer-logo .brand-mark {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.footer-logo strong {
  font-size: 22px;
}

.footer-brand p {
  max-width: 520px;
  color: #fde68a;
}

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

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--amber-300);
  font-size: 18px;
}

.footer-links a {
  color: #ffedd5;
}

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

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  color: #fde68a;
  border-top: 1px solid rgba(252, 211, 77, 0.22);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .quick-search-card,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .detail-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 72px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .hero-slider,
  .hero-inner {
    min-height: 560px;
  }

  .hero-inner {
    padding: 42px 18px;
  }

  .hero-slide {
    inset: 42px 18px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .quick-search-section,
  .content-section,
  .category-showcase,
  .rank-page-section,
  .search-results-section,
  .detail-layout,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quick-search-card {
    padding: 20px;
  }

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

  .movie-grid,
  .movie-grid-featured,
  .category-tile-grid,
  .category-card-grid,
  .rank-mini-grid {
    grid-template-columns: 1fr;
  }

  .movie-poster,
  .movie-card-large .movie-poster {
    height: 300px;
  }

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

  .rank-row-link {
    grid-template-columns: 44px 58px minmax(0, 1fr);
    gap: 10px;
  }

  .search-result-link {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .rank-row-link img,
  .search-result-link img {
    width: 58px;
    height: 80px;
  }

  .rank-index {
    width: 38px;
    height: 38px;
  }

  .rank-row-copy em,
  .search-result-copy em {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .movie-detail-card {
    padding: 22px;
  }

  .play-overlay span {
    width: 72px;
    height: 72px;
  }
}
