:root {
  --bg: #fff7ed;
  --bg-soft: #fffbeb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f5d7a5;
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --orange: #ea580c;
  --shadow: 0 20px 45px rgba(180, 83, 9, 0.16);
}

body {
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 45%, #fff1d6 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, #facc15, #f59e0b 48%, #ea580c);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.35);
  transition: transform 0.25s ease;
}

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

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #b45309, #ea580c, #ca8a04);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-subtitle {
  font-size: 12px;
  color: #7c2d12;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.mobile-link {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: #4b5563;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: #9a3412;
  background: rgba(245, 158, 11, 0.14);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  min-width: 260px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.08);
}

.nav-search input {
  width: 100%;
  padding: 11px 14px;
  outline: none;
  color: #4b5563;
}

.nav-search button,
.large-search button,
.search-page-form button {
  padding: 11px 18px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #92400e;
  background: rgba(245, 158, 11, 0.14);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.mobile-link {
  display: block;
}

.hero {
  position: relative;
  min-height: 520px;
  height: 70vh;
  overflow: hidden;
  background: #111827;
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: radial-gradient(circle at 30% 20%, #fbbf24, #7c2d12 46%, #111827 100%);
  transform: scale(1.04);
}

.hero-slide.is-active .hero-image {
  animation: heroZoom 7s ease both;
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.11);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: white;
  gap: 22px;
}

.hero-kicker,
.section-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.24);
}

.hero-content h1,
.hero-content h2 {
  max-width: 820px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.hero-content p {
  max-width: 690px;
  color: #f3f4f6;
  font-size: clamp(17px, 2.2vw, 24px);
  line-height: 1.75;
}

.hero-meta,
.hero-actions,
.page-hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta span,
.page-hero-links a {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 14px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-primary,
.btn-ghost,
.btn-text,
.section-more,
.category-overview-head a,
.side-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  padding: 15px 26px;
  color: white;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 18px 34px rgba(234, 88, 12, 0.34);
}

.btn-ghost {
  padding: 14px 24px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.btn-text {
  color: #fde68a;
}

.btn-primary:hover,
.btn-ghost:hover,
.section-more:hover,
.category-overview-head a:hover,
.side-card a:hover {
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 38px;
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

.hero-dots button.is-active {
  width: 30px;
  background: #f59e0b;
}

.quick-panel,
.section-block,
.category-overview-card,
.detail-content-card,
.side-card,
.filter-panel,
.search-filters {
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.quick-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-top: -58px;
  padding: 34px;
  position: relative;
  z-index: 8;
  backdrop-filter: blur(18px);
}

.quick-panel h2,
.section-heading h2,
.category-overview-head h2,
.detail-content-card h1,
.detail-content-card h2,
.search-filters h2,
.side-card h2 {
  font-weight: 950;
  letter-spacing: -0.05em;
  color: #1f2937;
}

.quick-panel h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 48px);
}

.quick-panel p {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 10px;
}

.large-search,
.search-page-form {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.large-search input,
.search-page-form input {
  flex: 1;
  padding: 17px 20px;
  outline: none;
}

.section-block {
  margin-top: 54px;
  padding: 34px;
}

.rail-block,
.category-block {
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.9), rgba(255, 251, 235, 0.9));
}

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

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.section-more,
.category-overview-head a,
.side-card a {
  padding: 10px 16px;
  color: #9a3412;
  background: #ffedd5;
}

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 28px rgba(146, 64, 14, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 42px rgba(146, 64, 14, 0.22);
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: radial-gradient(circle at 40% 18%, #fcd34d, #fb923c 48%, #7c2d12 100%);
}

.poster-frame img,
.wide-card img,
.category-tile img,
.top-rank-card img,
.ranking-item img,
.side-card img,
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.2s ease;
}

.movie-card:hover .poster-frame img,
.wide-card:hover img,
.category-tile:hover img,
.top-rank-card:hover img {
  transform: scale(1.08);
}

.poster-badge,
.poster-score,
.top-rank-num {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.poster-badge {
  top: 10px;
  left: 10px;
  background: #ef4444;
}

.poster-score {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.72);
}

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

.movie-card-body h3 {
  min-height: 44px;
  color: #1f2937;
  font-weight: 900;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
}

.wide-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 330px);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

.wide-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 26px;
  background: white;
  box-shadow: 0 12px 28px rgba(146, 64, 14, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.wide-card figure {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at 35% 25%, #facc15, #ea580c 55%, #1f2937);
}

.play-dot {
  position: absolute;
  inset: 0;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: auto;
  border-radius: 50%;
  color: white;
  background: rgba(245, 158, 11, 0.92);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.26);
}

.wide-card div {
  padding: 16px;
}

.wide-card strong {
  display: block;
  font-size: 18px;
  font-weight: 950;
}

.wide-card p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.wide-card span:last-child {
  color: #92400e;
  font-weight: 800;
  font-size: 13px;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background: #7c2d12;
  box-shadow: 0 18px 34px rgba(146, 64, 14, 0.16);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.82));
}

.category-tile img {
  position: absolute;
  inset: 0;
}

.category-tile span,
.category-tile p {
  position: relative;
  z-index: 2;
}

.category-tile span {
  font-size: 24px;
  font-weight: 950;
}

.category-tile p {
  margin-top: 8px;
  color: #fffbeb;
  font-size: 13px;
  line-height: 1.55;
}

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

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

.ranking-item {
  display: grid;
  grid-template-columns: 44px 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 22px rgba(146, 64, 14, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.rank-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  font-weight: 950;
}

.ranking-item img {
  width: 58px;
  height: 78px;
  border-radius: 12px;
  background: #f59e0b;
}

.rank-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rank-main strong {
  overflow: hidden;
  color: #1f2937;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-main em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-hot {
  color: #9a3412;
  font-size: 13px;
  font-weight: 900;
}

.inner-page {
  padding-bottom: 70px;
}

.page-hero {
  padding: 86px 0 72px;
  color: white;
  background: radial-gradient(circle at top left, #f59e0b, #9a3412 52%, #431407 100%);
}

.page-hero h1 {
  max-width: 850px;
  margin-top: 16px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.07em;
}

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

.page-hero-links {
  margin-top: 22px;
}

.category-index-grid,
.category-overview-list,
.top-rank-grid,
.filter-panel,
.search-layout,
.sitemap-list,
.detail-layout,
.breadcrumb {
  margin-top: 36px;
}

.category-overview-list {
  display: grid;
  gap: 30px;
}

.category-overview-card {
  padding: 30px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr 210px 210px;
  gap: 14px;
  padding: 18px;
}

.filter-panel input,
.filter-panel select,
.search-filters select {
  width: 100%;
  border-radius: 16px;
  padding: 13px 15px;
  color: #4b5563;
  outline: none;
  background: #fff7ed;
  border: 1px solid rgba(245, 158, 11, 0.26);
}

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

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

.top-rank-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 30px;
  color: white;
  background: #111827;
  box-shadow: var(--shadow);
}

.top-rank-card img {
  position: absolute;
  inset: 0;
}

.top-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.86));
}

.top-rank-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.top-rank-card h2 {
  font-size: 28px;
  font-weight: 950;
}

.top-rank-card p {
  margin: 10px 0;
  color: #fef3c7;
  line-height: 1.65;
}

.top-rank-num {
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

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

.search-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

.search-filters {
  padding: 22px;
  height: fit-content;
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
}

.search-filters h2 {
  font-size: 24px;
}

.search-results-wrap {
  min-width: 0;
}

.compact-heading {
  margin-bottom: 20px;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #92400e;
  font-weight: 800;
}

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

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 16 / 9;
  background: #030712;
  box-shadow: 0 28px 60px rgba(3, 7, 18, 0.35);
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #030712;
}

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #030712;
  transition: opacity 0.2s ease;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.player-card.is-playing .player-cover {
  opacity: 0;
  pointer-events: none;
}

.big-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: auto;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
  font-size: 34px;
  padding-left: 4px;
  transition: transform 0.2s ease;
}

.player-cover:hover .big-play {
  transform: scale(1.08);
}

.detail-content-card {
  padding: 28px;
}

.detail-content-card h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.1;
}

.detail-content-card h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

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

.detail-one-line {
  margin-top: 14px;
  font-size: 18px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.detail-meta-grid span {
  border-radius: 18px;
  padding: 14px;
  background: #fff7ed;
  color: #7c2d12;
}

.detail-meta-grid strong {
  display: block;
  color: #9a3412;
  font-size: 12px;
  margin-bottom: 4px;
}

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

.tag-row span {
  border-radius: 999px;
  padding: 7px 11px;
  color: #92400e;
  background: #ffedd5;
  font-weight: 800;
  font-size: 13px;
}

.detail-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.side-card {
  padding: 22px;
}

.poster-side-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  background: #f59e0b;
  object-fit: cover;
}

.side-card h2 {
  margin-top: 16px;
  font-size: 22px;
}

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

.side-links {
  display: grid;
  gap: 10px;
}

.side-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #4b5563;
  font-weight: 800;
}

.side-links a:hover {
  color: #ea580c;
}

.side-links em {
  flex: none;
  color: #9a3412;
  font-style: normal;
}

.sitemap-list {
  display: grid;
  gap: 24px;
}

.sitemap-group {
  border-radius: 28px;
  padding: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.sitemap-group h2 {
  margin-bottom: 18px;
  color: #1f2937;
  font-size: 26px;
  font-weight: 950;
}

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

.sitemap-group li {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.sitemap-group a {
  overflow: hidden;
  color: #7c2d12;
  font-weight: 850;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sitemap-group span {
  color: var(--muted);
  font-size: 12px;
}

.is-hidden {
  display: none !important;
}

.site-footer {
  margin-top: 70px;
  color: #fffbeb;
  background: linear-gradient(135deg, #451a03, #7c2d12 50%, #92400e);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
  padding: 48px 0;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 950;
}

.site-footer p {
  color: #fde68a;
  line-height: 1.8;
}

.site-footer h3 {
  margin-bottom: 13px;
  color: #fef3c7;
  font-weight: 950;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #fde68a;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(254, 243, 199, 0.18);
  padding: 20px 0;
  text-align: center;
  color: #fde68a;
}

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

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

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

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

  .nav-toggle {
    display: grid;
    place-items: center;
  }

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

  .hero {
    min-height: 620px;
    height: auto;
  }

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

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

  .detail-side,
  .search-filters {
    position: static;
  }

  .filter-panel,
  .detail-meta-grid,
  .top-rank-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-content {
    gap: 16px;
  }

  .hero-control {
    display: none;
  }

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

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

  .quick-panel,
  .section-block,
  .category-overview-card,
  .detail-content-card {
    padding: 20px;
    border-radius: 24px;
  }

  .large-search,
  .search-page-form,
  .section-heading,
  .category-overview-head {
    align-items: stretch;
    flex-direction: column;
  }

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

  .category-grid,
  .category-index-grid,
  .compact-ranking,
  .full-ranking {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 38px 54px 1fr;
  }

  .rank-hot {
    display: none;
  }

  .page-hero {
    padding: 62px 0 52px;
  }

  .sitemap-group ul {
    grid-template-columns: 1fr;
  }
}
