:root {
  --emerald: #059669;
  --teal: #0d9488;
  --cyan: #0891b2;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f8fafc 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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: 50;
  background: linear-gradient(90deg, rgba(5, 150, 105, 0.98), rgba(13, 148, 136, 0.98), rgba(8, 145, 178, 0.98));
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(8, 47, 73, 0.22);
  backdrop-filter: blur(16px);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

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

.desktop-nav a,
.mobile-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: #fde68a;
}

.header-search,
.mobile-search,
.page-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.page-search input {
  width: 220px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.header-search button,
.mobile-search button,
.page-search button,
.btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, #f43f5e, #ec4899);
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.page-search button:hover,
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 28px rgba(244, 63, 94, 0.32);
}

.menu-toggle {
  display: none;
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 9px 12px;
}

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

.mobile-search {
  margin-bottom: 14px;
}

.mobile-search input {
  flex: 1;
  width: auto;
}

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

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
}

.hero {
  width: min(1280px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(310px, 0.9fr);
  gap: 24px;
}

.hero-stage {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: #0f172a;
}

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

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

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

.hero-overlay,
.detail-hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(20, 184, 166, 0.26), transparent 34%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.62) 46%, rgba(2, 6, 23, 0.1));
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  right: clamp(24px, 12vw, 140px);
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 13px;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: 850;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.9), rgba(6, 182, 212, 0.9));
  box-shadow: 0 12px 24px rgba(20, 184, 166, 0.25);
}

.eyebrow.dark {
  color: #065f46;
  background: #d1fae5;
  box-shadow: none;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.detail-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.75;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.tag-list span {
  border-radius: 999px;
  padding: 7px 12px;
  color: #ecfeff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

.btn.primary {
  background: linear-gradient(90deg, #f43f5e, #ec4899);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.hero-controls {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hero-arrow,
.hero-dot {
  pointer-events: auto;
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 30px;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

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

.hero-dot.is-active {
  width: 28px;
  background: #fde68a;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-search-card,
.hero-thumb-list,
.ranking-panel,
.intro-card,
.detail-card,
.side-card,
.search-toolbar {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.hero-search-card {
  padding: 24px;
}

.hero-search-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 24px;
}

.hero-search-card form {
  display: flex;
  gap: 8px;
}

.hero-search-card input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.hero-search-card button {
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  color: #ffffff;
  font-weight: 850;
  cursor: pointer;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip-cloud a,
.category-pill {
  border-radius: 999px;
  padding: 9px 13px;
  color: #0f766e;
  font-weight: 750;
  background: #ccfbf1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.chip-cloud a:hover,
.category-pill:hover,
.category-pill.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--emerald), var(--teal));
  transform: translateY(-1px);
}

.hero-thumb-list {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-thumb:hover {
  transform: translateX(2px);
  box-shadow: var(--shadow-soft);
}

.hero-thumb img {
  width: 112px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.hero-thumb span {
  font-weight: 850;
  line-height: 1.4;
}

.content-section,
.detail-wrap {
  width: min(1280px, calc(100% - 32px));
  margin: 42px auto;
}

.inner-section {
  width: 100%;
  margin: 34px 0 0;
}

.intro-section {
  margin-top: 26px;
}

.intro-card {
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(circle at 92% 10%, rgba(14, 165, 233, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff, #ecfeff);
}

.intro-card h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
}

.intro-card p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.section-head.slim {
  margin-bottom: 14px;
}

.section-head h2,
.detail-card h2,
.side-card h2,
.category-card h2,
.search-toolbar h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

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

.section-more,
.text-link {
  color: var(--emerald);
  font-weight: 850;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5, #e0f2fe);
}

.movie-card.compact .poster-frame {
  aspect-ratio: 3 / 4;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.08));
  transition: opacity 0.25s ease;
}

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

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--emerald);
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.year-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 16px;
}

.movie-card.large .card-body {
  padding: 20px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card.large .card-body h3 {
  font-size: 22px;
}

.card-body h3 a:hover {
  color: var(--emerald);
}

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

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.card-meta a,
.card-meta span:first-of-type {
  border-radius: 999px;
  padding: 5px 9px;
  color: #047857;
  font-weight: 750;
  background: #d1fae5;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 44px 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  background: #ecfeff;
  transform: translateX(2px);
  box-shadow: var(--shadow-soft);
}

.rank-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose), var(--amber));
}

.rank-item img {
  width: 92px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #d1fae5, #e0f2fe);
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  margin-bottom: 4px;
}

.rank-info em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

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

.category-tile {
  min-height: 156px;
  padding: 22px;
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile span {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 900;
}

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

.page-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 28px auto 34px;
  padding: clamp(34px, 6vw, 74px);
  overflow: hidden;
  position: relative;
  border-radius: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 20%, rgba(253, 224, 71, 0.22), transparent 28%),
    linear-gradient(120deg, #047857, #0d9488 48%, #0891b2);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero p {
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

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

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

.category-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-cover {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
  background: #ecfeff;
}

.category-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.category-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.detail-hero {
  position: relative;
  min-height: 460px;
  color: #ffffff;
  overflow: hidden;
  background: #0f172a;
}

.detail-hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: clamp(32px, 8vw, 86px);
  max-width: 860px;
}

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

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

.player-card {
  overflow: hidden;
  border-radius: 26px;
  background: #020617;
  box-shadow: var(--shadow);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.movie-player,
.player-cover,
.player-cover img,
.player-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-player {
  z-index: 1;
  background: #000000;
}

.player-cover {
  z-index: 2;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  object-fit: cover;
  filter: brightness(0.7);
}

.player-gradient {
  background:
    radial-gradient(circle at 50% 45%, rgba(20, 184, 166, 0.22), transparent 22%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72));
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 20px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 20px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
}

.player-start i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #047857;
  font-style: normal;
  background: #ffffff;
}

.detail-card,
.side-card {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 30px);
}

.detail-card p {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
}

.detail-card .tag-list span {
  color: #0e7490;
  background: linear-gradient(90deg, #cffafe, #dbeafe);
  box-shadow: none;
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.prev-next a {
  padding: 16px 18px;
  border-radius: 18px;
  color: #047857;
  font-weight: 800;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-side {
  position: sticky;
  top: 98px;
}

.side-card:first-child {
  margin-top: 0;
}

.side-card dl {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  margin: 0;
}

.side-card dt {
  color: var(--muted);
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: #0f172a;
  line-height: 1.55;
}

.side-btn {
  display: block;
  width: fit-content;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
}

.side-list .rank-item {
  grid-template-columns: 34px 76px 1fr;
}

.side-list .rank-number {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.side-list .rank-item img {
  width: 76px;
}

.search-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 20px;
}

.search-toolbar select {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: #ffffff;
}

.page-search {
  margin-top: 26px;
  max-width: 720px;
}

.page-search input {
  flex: 1;
  width: auto;
  border-radius: 18px;
  padding: 14px 18px;
}

.site-footer {
  margin-top: 70px;
  padding: 46px 0 28px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-inner p {
  margin: 12px 0 0;
  max-width: 520px;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

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

.copyright {
  width: min(1280px, calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
  text-align: center;
}

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

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

  .hero,
  .two-column-section,
  .detail-wrap {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 520px;
  }

  .ranking-panel,
  .detail-side {
    position: static;
  }

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

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

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

@media (max-width: 760px) {
  .header-inner,
  .mobile-panel,
  .hero,
  .content-section,
  .detail-wrap,
  .page-hero,
  .footer-inner,
  .copyright {
    width: min(100% - 24px, 1280px);
  }

  .site-logo {
    font-size: 19px;
  }

  .hero {
    margin-top: 16px;
  }

  .hero-stage {
    min-height: 560px;
    border-radius: 24px;
  }

  .hero-content {
    left: 20px;
    right: 20px;
  }

  .hero h1,
  .page-hero h1,
  .detail-hero h1 {
    font-size: 36px;
  }

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

  .hero-search-card form,
  .page-search,
  .section-head,
  .search-toolbar,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search-card button,
  .page-search button {
    min-height: 44px;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-grid,
  .rank-list.wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-body {
    padding: 13px;
  }

  .card-body h3 {
    font-size: 16px;
  }

  .card-body p {
    font-size: 14px;
  }

  .rank-item {
    grid-template-columns: 36px 76px 1fr;
  }

  .rank-number {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .rank-item img {
    width: 76px;
  }

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

  .detail-hero {
    min-height: 520px;
  }

  .detail-hero-content {
    left: 18px;
    right: 18px;
    bottom: 34px;
  }

  .prev-next {
    grid-template-columns: 1fr;
  }

  .player-start {
    font-size: 16px;
    padding: 12px 18px;
  }

  .player-start i {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 470px) {
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-thumb {
    grid-template-columns: 96px 1fr;
  }

  .hero-thumb img {
    width: 96px;
  }

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