:root {
  --bg: #f7fbff;
  --card: #ffffff;
  --text: #162033;
  --muted: #68758a;
  --line: #dcecff;
  --blue: #2f7df4;
  --cyan: #18c5df;
  --deep: #081427;
  --shadow: 0 18px 45px rgba(35, 111, 206, 0.14);
  --soft-shadow: 0 10px 28px rgba(21, 82, 150, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(24, 197, 223, 0.12), transparent 34rem), var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(198, 225, 255, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1220px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 13px;
  box-shadow: 0 12px 24px rgba(47, 125, 244, 0.22);
}

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

.brand-text strong,
.footer-brand strong {
  font-size: 22px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: #8a97aa;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.nav-link {
  white-space: nowrap;
  color: #4e5d73;
  font-weight: 650;
  font-size: 15px;
  padding: 8px 3px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--blue);
}

.top-search,
.mobile-search,
.large-search,
.search-tool {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-search input,
.mobile-search input,
.large-search input,
.search-tool input,
.search-tool select,
.filter-panel input,
.filter-panel select {
  border: 1px solid #cfe5ff;
  background: rgba(241, 248, 255, 0.95);
  color: var(--text);
  border-radius: 999px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-search input {
  width: 210px;
  padding: 11px 15px;
}

.top-search button,
.mobile-search button,
.large-search button,
.search-tool button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(47, 125, 244, 0.18);
}

.top-search button {
  padding: 11px 18px;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 125, 244, 0.12);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--blue);
  background: #eef7ff;
  border-radius: 14px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-search {
  margin: 12px 0;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
}

.mobile-search button {
  padding: 12px 18px;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
  background: #f2f8ff;
  border: 1px solid #dcecff;
  border-radius: 14px;
  color: #4e5d73;
  font-weight: 650;
}

.hero-carousel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--deep);
}

.hero-track {
  position: relative;
  min-height: 640px;
}

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

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

.hero-slide > img,
.detail-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(24, 197, 223, 0.32), transparent 22rem),
    linear-gradient(90deg, rgba(4, 12, 26, 0.9), rgba(4, 12, 26, 0.5) 47%, rgba(4, 12, 26, 0.16)),
    linear-gradient(0deg, rgba(4, 12, 26, 0.78), rgba(4, 12, 26, 0.05) 45%, rgba(4, 12, 26, 0.25));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 90px 0 96px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dff8ff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  max-width: 790px;
  margin: 18px 0 16px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: -1.4px;
}

.hero-content p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.9;
}

.hero-tags,
.tag-row,
.info-pills,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span,
.info-pills span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-style: normal;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  padding: 7px 12px;
  backdrop-filter: blur(8px);
}

.hero-actions,
.cta-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 34px rgba(24, 197, 223, 0.24);
}

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

.ghost-btn.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover,
.wide-card:hover,
.rank-card:hover,
.category-tile:hover {
  transform: translateY(-3px);
}

.hero-nav {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 4;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.hero-nav button {
  border: 0;
  color: #fff;
  cursor: pointer;
}

.hero-nav > button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 28px;
  backdrop-filter: blur(8px);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dot.is-active {
  width: 32px;
  background: #fff;
}

.search-band {
  margin-top: -34px;
  position: relative;
  z-index: 8;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 24px;
  align-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0f0ff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-panel h2,
.cta-panel h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.search-panel p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.large-search input {
  flex: 1;
  min-width: 0;
  padding: 15px 18px;
}

.large-search button {
  padding: 15px 22px;
}

.section-block {
  padding: 68px 0;
}

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

.section-head h2,
.category-overview-head h2,
.detail-side h2,
.content-card h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 38px);
}

.section-head p,
.category-overview-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.section-link span {
  font-size: 24px;
  line-height: 1;
}

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

.category-tile {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(47, 125, 244, 0.94), rgba(24, 197, 223, 0.86));
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  overflow: hidden;
  position: relative;
}

.category-tile:nth-child(3n + 2) {
  background: linear-gradient(135deg, #7c5cff, #ed5cb8);
}

.category-tile:nth-child(3n) {
  background: linear-gradient(135deg, #1aa779, #26d5b6);
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.category-tile strong {
  font-size: 24px;
  position: relative;
  z-index: 1;
}

.category-tile em {
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.category-samples span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 12px;
}

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

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(214, 234, 255, 0.95);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover,
.wide-card:hover,
.rank-card:hover {
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #dcedff, #f6fbff);
}

.poster-wrap img,
.wide-thumb img,
.rank-card img,
.detail-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.46s ease;
}

.movie-card:hover img,
.wide-card:hover img,
.rank-card:hover img {
  transform: scale(1.06);
}

.duration {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  background: rgba(5, 15, 32, 0.72);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-style: normal;
  backdrop-filter: blur(8px);
}

.play-dot {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.meta-line {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.movie-card strong {
  color: var(--text);
  line-height: 1.35;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  margin-top: auto;
}

.tag-row span {
  color: #4d7eb9;
  background: #eef7ff;
  padding: 4px 7px;
  font-size: 12px;
}

.rank-section {
  padding: 68px 0;
  background: linear-gradient(180deg, #eaf6ff, rgba(247, 251, 255, 0));
}

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

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

.wide-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dcecff;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.wide-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: #edf7ff;
}

.wide-thumb i {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #fff;
  background: rgba(5, 15, 32, 0.7);
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 11px;
  font-style: normal;
}

.wide-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.wide-body small,
.wide-body em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.wide-body strong {
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cta-panel {
  margin-bottom: 72px;
  padding: clamp(34px, 7vw, 58px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-panel p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
}

.cta-panel div {
  justify-content: center;
}

.cta-panel .primary-btn {
  background: #fff;
  color: var(--blue);
}

.page-hero,
.detail-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.gradient-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2), transparent 18rem),
    linear-gradient(135deg, #2f7df4, #18c5df 58%, #4d7cff);
}

.page-hero .container {
  padding: 92px 0;
}

.page-hero.small .container {
  padding: 70px 0;
}

.page-hero h1 {
  max-width: 800px;
  margin: 18px 0 14px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.category-overview-wrap {
  display: grid;
  gap: 28px;
}

.category-overview {
  padding: 24px;
  background: #fff;
  border: 1px solid #dcecff;
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}

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

.filter-panel,
.search-tool {
  display: grid;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid #dcecff;
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

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

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #5a6a80;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.search-tool input,
.search-tool select {
  width: 100%;
  padding: 13px 15px;
}

.search-tool {
  grid-template-columns: 1fr 220px 140px;
}

.search-tool button {
  height: 48px;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 54px 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid #dcecff;
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 14px;
  font-weight: 900;
}

.rank-card img {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: #edf7ff;
}

.rank-info {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.rank-info strong {
  font-size: 18px;
}

.rank-info em,
.rank-info b {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
}

.detail-hero {
  min-height: 580px;
  background: var(--deep);
}

.detail-bg {
  position: absolute;
  inset: 0;
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 22%, rgba(24, 197, 223, 0.36), transparent 20rem),
    linear-gradient(90deg, rgba(3, 10, 23, 0.9), rgba(3, 10, 23, 0.58)),
    linear-gradient(0deg, rgba(3, 10, 23, 0.95), rgba(3, 10, 23, 0.12));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 42px 0 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin-bottom: 40px;
}

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

.detail-intro {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  background: #15243a;
}

.detail-intro h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
}

.lead-text {
  max-width: 790px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.info-pills {
  margin: 18px 0;
}

.info-pills span {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 56px 0 76px;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #030a17;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.player-card video {
  width: 100%;
  height: 100%;
  display: block;
  background: #030a17;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(3, 10, 23, 0.72), rgba(3, 10, 23, 0.22));
  cursor: pointer;
  z-index: 3;
}

.player-overlay span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  font-size: 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.player-overlay strong {
  font-size: 20px;
}

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

.content-card,
.detail-side {
  margin-top: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid #dcecff;
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}

.content-card p {
  margin: 0;
  color: #43536a;
  font-size: 17px;
  line-height: 2;
  white-space: pre-line;
}

.detail-side {
  position: sticky;
  top: 100px;
  align-self: start;
  margin-top: 0;
}

.detail-side h2 {
  font-size: 26px;
}

.site-footer {
  padding: 54px 0;
  background: linear-gradient(180deg, #eef8ff, #fff);
  border-top: 1px solid #dcecff;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.footer-inner p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-links a {
  color: var(--blue);
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .top-search {
    display: none;
  }

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

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

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

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

  .detail-side {
    position: static;
  }
}

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

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .hero-carousel,
  .hero-track,
  .hero-content {
    min-height: 560px;
  }

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

  .hero-nav {
    justify-content: center;
  }

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

  .large-search,
  .search-tool,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .rank-grid,
  .category-overview .overview-list {
    grid-template-columns: 1fr;
  }

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

  .section-head,
  .category-overview-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .detail-poster {
    width: 210px;
  }
}

@media (max-width: 620px) {
  .header-inner {
    height: 66px;
  }

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

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

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

  .hero-carousel,
  .hero-track,
  .hero-content {
    min-height: 540px;
  }

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

  .hero-actions,
  .cta-panel div {
    width: 100%;
  }

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

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

  .wide-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .rank-card {
    grid-template-columns: 42px 74px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-num {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .detail-layout {
    padding-top: 34px;
  }

  .content-card,
  .detail-side,
  .category-overview {
    padding: 20px;
    border-radius: 22px;
  }
}
