* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8fafc;
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container-custom {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.25);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(90deg, #0d9488, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-subtitle {
  margin-top: 0.1rem;
  font-size: 0.75rem;
  color: #64748b;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  color: #475569;
  font-weight: 600;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #0f766e;
  background: #f0fdfa;
}

.header-search {
  width: min(260px, 26vw);
}

.search-box {
  position: relative;
}

.search-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  outline: none;
  padding: 0.7rem 1rem;
  color: #0f172a;
  background: #fff;
  transition: 0.2s ease;
}

.search-input:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.search-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  right: 0;
  display: none;
  padding: 0.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  border: 1px solid #e2e8f0;
  z-index: 80;
}

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

.search-panel.wide {
  min-width: min(760px, calc(100vw - 2rem));
}

.search-result {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 0.75rem;
  transition: 0.2s ease;
}

.search-result:hover {
  background: #f1f5f9;
}

.search-result img {
  width: 4rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #e2e8f0;
}

.search-result strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
}

.search-result small {
  display: block;
  color: #64748b;
  margin-top: 0.15rem;
}

.search-empty {
  padding: 0.8rem;
  color: #64748b;
  text-align: center;
}

.mobile-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.75rem;
  background: #f1f5f9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
}

.mobile-toggle span {
  width: 1.25rem;
  height: 2px;
  background: #334155;
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

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

.mobile-link {
  display: block;
  padding: 0.9rem 0.75rem;
  border-radius: 0.75rem;
  color: #334155;
  font-weight: 700;
}

.mobile-link:hover {
  background: #f1f5f9;
  color: #0f766e;
}

.mobile-search {
  margin-top: 0.5rem;
}

.hero-carousel {
  position: relative;
  height: 60vh;
  min-height: 520px;
  overflow: hidden;
  background: #0f172a;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.46) 48%, rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 9vw, 6rem);
  color: #fff;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: #2dd4bf;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-content h1 {
  width: min(760px, 100%);
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero-content p {
  width: min(680px, 100%);
  margin: 0 0 1.3rem;
  color: #cbd5e1;
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  backdrop-filter: blur(6px);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.75rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: #0d9488;
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  background: #0f766e;
  transform: translateY(-2px);
}

.btn-secondary {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.btn-secondary.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition: 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero-prev {
  left: 1.5rem;
}

.hero-next {
  right: 1.5rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

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

.hero-dot.is-active {
  width: 2rem;
  background: #fff;
}

.search-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  margin-top: -2.1rem;
  position: relative;
  z-index: 5;
}

.search-card,
.ranking-entry {
  min-height: 5.25rem;
  padding: 1.1rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  border: 1px solid #e2e8f0;
}

.search-card-label {
  display: block;
  color: #0f766e;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.large-search {
  border-radius: 0.9rem;
  padding: 0.95rem 1rem;
}

.ranking-entry {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
}

.ranking-entry span {
  color: #ccfbf1;
}

.ranking-entry strong {
  font-size: 1.2rem;
}

.content-section {
  padding-top: 3.5rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0.2rem 0 0;
  color: #1e293b;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 900;
}

.section-more {
  color: #0d9488;
  font-weight: 800;
}

.section-more:hover {
  color: #0f766e;
}

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

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

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

.video-card {
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.video-card:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.13);
  border-color: rgba(20, 184, 166, 0.32);
}

.card-link {
  display: block;
  height: 100%;
}

.poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

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

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

.poster-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1));
  transition: opacity 0.25s ease;
}

.video-card:hover .poster-hover {
  opacity: 1;
}

.poster-hover span {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #0d9488;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1.4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.poster-badge {
  position: absolute;
  top: 0.65rem;
  display: inline-flex;
  min-height: 1.7rem;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(5px);
}

.poster-badge-left {
  left: 0.65rem;
}

.poster-badge-right {
  right: 0.65rem;
  background: #0d9488;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  min-height: 2.55rem;
  margin: 0 0 0.55rem;
  color: #1e293b;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  min-height: 2.7rem;
  margin: 0 0 0.7rem;
  color: #64748b;
  line-height: 1.5;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  color: #64748b;
  font-size: 0.82rem;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
}

.card-meta span + span::before {
  content: "·";
  margin-right: 0.6rem;
  color: #94a3b8;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: 0.76rem;
  font-weight: 800;
}

.tag-badge:hover {
  background: #99f6e4;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
}

.split-main {
  padding-top: 3.5rem;
}

.ranking-card {
  position: sticky;
  top: 92px;
  margin-top: 3.5rem;
  padding: 1.25rem;
  border-radius: 1.2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.ranking-card h2 {
  margin: 0 0 1rem;
  color: #1e293b;
  font-size: 1.35rem;
}

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

.ranking-card li + li {
  border-top: 1px solid #e2e8f0;
}

.ranking-card a {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.78rem 0;
}

.rank-number,
.ranking-row-number {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  font-weight: 900;
}

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

.rank-meta {
  color: #64748b;
  font-size: 0.85rem;
}

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

.category-chip-card {
  min-height: 8rem;
  padding: 1.1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: 0.25s ease;
}

.category-chip-card:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(20, 184, 166, 0.42);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.1);
}

.category-chip-card span {
  display: block;
  color: #0f766e;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.category-chip-card small {
  color: #64748b;
  line-height: 1.6;
}

.page-hero {
  padding: 3.4rem 0;
}

.gradient-page-hero {
  color: #fff;
  background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.28), transparent 34%), linear-gradient(135deg, #0f766e, #0e7490 48%, #0f172a);
}

.page-hero h1 {
  margin: 0.6rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.page-hero p {
  width: min(760px, 100%);
  margin: 0;
  color: #ccfbf1;
  font-size: 1.1rem;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

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

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

.category-overview-card {
  overflow: hidden;
  border-radius: 1.2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  transition: 0.25s ease;
}

.category-overview-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.13);
}

.category-cover-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 150px;
  background: #e2e8f0;
}

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

.category-overview-body {
  padding: 1.25rem;
}

.category-overview-body h2 {
  margin: 0 0 0.5rem;
  color: #1e293b;
}

.category-overview-body p {
  margin: 0 0 1rem;
  color: #64748b;
  line-height: 1.7;
}

.category-overview-body span {
  color: #0d9488;
  font-weight: 900;
}

.filter-heading {
  align-items: center;
}

.local-filter {
  width: min(320px, 100%);
}

.local-filter input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  outline: none;
}

.local-filter input:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.ranking-page-list {
  display: grid;
  gap: 0.9rem;
}

.ranking-row {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: 0.2s ease;
}

.ranking-row:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.1);
}

.ranking-row a {
  display: grid;
  grid-template-columns: 3rem 9rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
}

.ranking-row img {
  width: 9rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.75rem;
  background: #e2e8f0;
}

.ranking-row-content strong {
  display: block;
  color: #1e293b;
  font-size: 1.05rem;
}

.ranking-row-content small {
  display: block;
  margin: 0.3rem 0;
  color: #64748b;
  line-height: 1.55;
}

.ranking-row-content em {
  color: #0f766e;
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 800;
}

.detail-hero {
  color: #fff;
  padding: 2rem 0 2.5rem;
  background: radial-gradient(circle at top right, rgba(45, 212, 191, 0.2), transparent 32%), linear-gradient(135deg, #0f172a, #0f766e);
}

.detail-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.detail-title-row h1 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.05;
}

.detail-title-row p {
  width: min(800px, 100%);
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1.08rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
  padding-top: 2rem;
}

.detail-main,
.detail-aside {
  display: grid;
  gap: 1.25rem;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  aspect-ratio: 16 / 9;
  background: #020617;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.22);
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.52), rgba(2, 6, 23, 0.18));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-overlay span {
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.25rem;
  color: #0d9488;
  background: rgba(255, 255, 255, 0.95);
  font-size: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  transition: 0.2s ease;
}

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

.detail-panel,
.detail-cover-card,
.detail-info-card {
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.detail-panel {
  padding: 1.5rem;
}

.detail-panel h2,
.detail-info-card h2 {
  margin: 0 0 0.85rem;
  color: #1e293b;
  font-size: 1.35rem;
}

.detail-panel p {
  margin: 0;
  color: #334155;
  line-height: 1.9;
}

.detail-nav-panel {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.detail-nav-panel a {
  color: #0d9488;
  font-weight: 900;
}

.detail-cover-card {
  overflow: hidden;
}

.detail-cover-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e2e8f0;
}

.detail-cover-card div {
  padding: 1.2rem;
}

.detail-cover-card h2 {
  margin: 0 0 0.4rem;
  color: #1e293b;
}

.detail-cover-card p {
  margin: 0;
  color: #64748b;
}

.detail-info-card {
  padding: 1.2rem;
}

.detail-info-card dl {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.7rem 0.9rem;
  margin: 0;
}

.detail-info-card dt {
  color: #64748b;
}

.detail-info-card dd {
  margin: 0;
  color: #1e293b;
  font-weight: 800;
}

.detail-info-card dd a {
  color: #0d9488;
}

.detail-tags {
  margin-top: 1rem;
}

.video-card-horizontal .card-link-horizontal {
  display: grid;
  grid-template-columns: 12rem 1fr;
  height: 100%;
}

.poster-horizontal {
  aspect-ratio: auto;
  height: 100%;
}

.card-body-horizontal h3 {
  min-height: auto;
}

.card-body-horizontal p {
  min-height: auto;
}

.site-footer {
  margin-top: 5rem;
  background: #0f172a;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-logo {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.75;
}

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

.site-footer li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: #cbd5e1;
  transition: 0.2s ease;
}

.site-footer a:hover {
  color: #2dd4bf;
}

.footer-bottom {
  padding: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  text-align: center;
  color: #94a3b8;
}

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

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

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

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

  .ranking-card {
    position: static;
  }
}

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

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

  .hero-carousel {
    min-height: 460px;
    height: 58vh;
  }

  .hero-arrow {
    display: none;
  }

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

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

  .detail-title-row {
    display: block;
  }

  .detail-title-row .btn-secondary {
    margin-top: 1rem;
  }
}

@media (max-width: 700px) {
  .container-custom {
    width: min(100% - 1.25rem, 1280px);
  }

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

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

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

  .card-body {
    padding: 0.85rem;
  }

  .card-body h3 {
    font-size: 0.95rem;
  }

  .card-body p,
  .tag-row {
    display: none;
  }

  .ranking-row a {
    grid-template-columns: 2.5rem 6rem 1fr;
    gap: 0.7rem;
  }

  .ranking-row img {
    width: 6rem;
    height: 4rem;
  }

  .ranking-row-content small {
    display: none;
  }

  .detail-panel,
  .detail-info-card {
    padding: 1rem;
  }
}

@media (max-width: 460px) {
  .hero-content p,
  .hero-meta {
    display: none;
  }

  .movie-grid,
  .compact-grid,
  .full-grid {
    grid-template-columns: 1fr;
  }

  .video-card-horizontal .card-link-horizontal {
    grid-template-columns: 1fr;
  }
}
