* {
  box-sizing: border-box;
}

:root {
  --cyan-50: #ecfeff;
  --cyan-100: #cffafe;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --teal-600: #0d9488;
  --emerald-600: #059669;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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: 100;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan-700);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-600), var(--emerald-600));
  box-shadow: 0 10px 22px rgba(8, 145, 178, 0.28);
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover {
  color: var(--cyan-700);
  background: var(--gray-100);
}

.nav-link.active,
.mobile-link.active {
  color: var(--white);
  background: var(--cyan-600);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: var(--gray-100);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gray-800);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 14px;
  border-top: 1px solid var(--gray-200);
}

.mobile-nav.open {
  display: grid;
  gap: 6px;
}

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

.narrow {
  width: min(840px, calc(100% - 32px));
}

.home-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-600), var(--teal-600) 55%, var(--emerald-600));
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(4px);
}

.home-hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
}

.home-hero::after {
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: -100px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  padding: 86px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--cyan-700);
  background: var(--cyan-50);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-hero .eyebrow {
  color: var(--cyan-50);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--cyan-50);
  font-size: 20px;
}

.hero-search {
  width: min(560px, 100%);
  display: flex;
  gap: 10px;
  padding: 8px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 13px;
  padding: 14px 16px;
  color: var(--gray-800);
  outline: none;
  background: var(--white);
}

.hero-search button,
.primary-btn,
.ghost-btn {
  border: 0;
  border-radius: 13px;
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-search button,
.primary-btn {
  color: var(--cyan-700);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.primary-btn:hover,
.hero-search button:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.small-actions {
  margin: 24px 0 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 650px;
}

.hero-stats span {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(15px);
}

.hero-stats strong {
  font-size: 28px;
  line-height: 1;
}

.hero-stats em {
  color: var(--cyan-100);
  font-style: normal;
  font-size: 13px;
}

.hero-carousel {
  position: relative;
  min-height: 500px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

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

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

.hero-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.82));
}

.hero-slide-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--cyan-50);
  background: rgba(8, 145, 178, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.hero-slide-content h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.12;
}

.hero-slide-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-slide-content a {
  display: inline-flex;
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--cyan-700);
  background: var(--white);
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dot.active {
  width: 30px;
  border-radius: 999px;
  background: var(--white);
}

.home-section,
.listing-section,
.content-section {
  padding: 76px 0;
}

.soft-bg,
.category-section,
.listing-section {
  background: var(--gray-50);
}

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

.section-heading h2 {
  margin: 0 0 8px;
  color: var(--gray-800);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--gray-600);
}

.section-more,
.watch-link,
.ranking-head a {
  color: var(--cyan-600);
  font-weight: 800;
}

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

.category-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.movie-card:hover,
.overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-600), var(--emerald-600));
  font-weight: 900;
}

.category-title {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-800);
  font-size: 20px;
  font-weight: 800;
}

.category-desc {
  display: block;
  color: var(--gray-600);
  font-size: 14px;
}

.category-poster {
  position: absolute;
  right: -14px;
  bottom: -28px;
  width: 120px;
  height: 170px;
  overflow: hidden;
  border-radius: 18px;
  transform: rotate(8deg);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.category-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  height: 275px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cyan-50), var(--gray-100));
}

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

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

.year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--cyan-600);
  font-size: 12px;
  font-weight: 800;
}

.play-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cyan-700);
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 18px;
}

.card-body.compact {
  padding: 16px;
}

.movie-meta {
  margin-bottom: 8px;
  color: var(--cyan-600);
  font-size: 13px;
  font-weight: 800;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--gray-800);
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag-row span {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--cyan-700);
  background: var(--cyan-50);
  font-size: 12px;
  font-weight: 700;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.ranking-card {
  position: sticky;
  top: 92px;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.ranking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ranking-head h2 {
  margin: 0;
  font-size: 24px;
}

.ranking-card ol,
.ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-card li a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-100);
}

.rank-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: var(--white);
  background: var(--cyan-600);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.rank-meta {
  grid-column: 2;
  color: var(--gray-500);
  font-size: 13px;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-600), var(--teal-600), var(--emerald-600));
}

.compact-hero {
  padding: 82px 0;
}

.compact-hero .eyebrow {
  color: var(--cyan-50);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.compact-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.1;
}

.compact-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--cyan-50);
  font-size: 19px;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.search-box input,
.filter-row select {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
}

.search-box input:focus,
.filter-row select:focus {
  border-color: var(--cyan-600);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.search-box button {
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  color: var(--white);
  background: var(--cyan-600);
  font-weight: 800;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

.overview-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overview-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  height: 180px;
  overflow: hidden;
  background: var(--gray-100);
}

.overview-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-body {
  padding: 20px;
}

.overview-body h2 {
  margin: 0 0 8px;
}

.overview-body p {
  min-height: 68px;
  margin: 0 0 14px;
  color: var(--gray-600);
}

.overview-body span {
  color: var(--cyan-600);
  font-weight: 800;
}

.ranking-featured {
  margin-bottom: 32px;
}

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

.ranking-row a {
  display: grid;
  grid-template-columns: 58px 74px minmax(0, 1fr) 92px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.ranking-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-600), var(--emerald-600));
  font-weight: 900;
}

.ranking-row img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-main strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.ranking-main em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-600);
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-side {
  color: var(--cyan-700);
  font-weight: 800;
  text-align: right;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-900);
}

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

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.08);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.82), rgba(17, 24, 39, 0.92));
}

.detail-head {
  position: relative;
  z-index: 1;
  padding: 46px 0 72px;
}

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

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

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

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.12);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-copy .eyebrow {
  color: var(--cyan-50);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--cyan-50);
  font-size: 20px;
}

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

.detail-meta-list span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-tags span {
  color: var(--cyan-50);
  background: rgba(255, 255, 255, 0.16);
}

.player-section {
  padding: 70px 0;
  background: var(--gray-900);
}

.player-section h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 34px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  box-shadow: var(--shadow-lg);
}

.movie-video,
.player-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.movie-video {
  display: block;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.player-cover.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.big-play {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  border: 0;
  border-radius: 50%;
  color: var(--cyan-700);
  background: rgba(255, 255, 255, 0.92);
  font-size: 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.movie-text h2 {
  margin: 0 0 12px;
  color: var(--gray-800);
  font-size: 30px;
}

.movie-text p {
  margin: 0 0 28px;
  color: var(--gray-700);
  font-size: 18px;
}

.content-section h2 {
  color: var(--gray-800);
}

.content-section p {
  color: var(--gray-700);
}

.site-footer {
  color: var(--gray-300);
  background: var(--gray-900);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  margin-bottom: 14px;
  color: var(--white);
}

.footer-col h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

.footer-col p {
  margin: 0;
  color: var(--gray-500);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan-100);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 32px;
  color: var(--gray-500);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--cyan-600);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.back-top.show {
  display: flex;
}

.no-result {
  grid-column: 1 / -1;
  padding: 34px;
  border-radius: 20px;
  color: var(--gray-600);
  background: var(--white);
  text-align: center;
  border: 1px solid var(--gray-200);
}

@media (max-width: 1100px) {
  .hero-inner,
  .two-column-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 440px;
  }

  .ranking-card {
    position: static;
  }

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

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

  .menu-toggle {
    display: flex;
  }

  .hero-inner {
    min-height: auto;
    padding: 62px 0;
  }

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid,
  .movie-grid,
  .overview-grid,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-row,
  .ranking-row a {
    grid-template-columns: 1fr;
  }

  .ranking-side {
    text-align: left;
  }

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

@media (max-width: 560px) {
  .brand-text {
    display: none;
  }

  .hero-search,
  .search-box {
    flex-direction: column;
  }

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

  .hero-carousel {
    min-height: 380px;
    border-radius: 22px;
  }

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

  .hero-slide-content h2 {
    font-size: 26px;
  }

  .poster-frame {
    height: 340px;
  }

  .home-section,
  .listing-section,
  .content-section {
    padding: 54px 0;
  }

  .section-heading {
    display: grid;
  }

  .compact-hero {
    padding: 58px 0;
  }

  .big-play {
    width: 72px;
    height: 72px;
  }
}
