:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-line: #e2e8f0;
  --color-primary: #059669;
  --color-primary-dark: #047857;
  --color-primary-soft: #d1fae5;
  --color-teal: #0f766e;
  --color-cyan: #0e7490;
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 8px 28px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f8fafc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

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

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

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-teal), var(--color-cyan));
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.28);
}

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

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #334155;
  font-weight: 650;
  transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #ecfdf5;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-primary-dark);
  border-radius: 999px;
}

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

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

.hero-slider {
  position: relative;
  height: 600px;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, #064e3b 0%, #115e59 45%, #164e63 100%);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transform: scale(1.02);
}

.hero-slide.image-missing img,
.poster-shell.image-missing img,
.related-thumb.image-missing img {
  display: none;
}

.hero-slide.image-missing,
.poster-shell.image-missing,
.related-thumb.image-missing {
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.65), transparent 30%), linear-gradient(135deg, #064e3b, #0f766e, #164e63);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52) 0%, transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1180px;
}

.hero-content > * {
  max-width: 680px;
}

.hero-pill,
.page-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.20);
  border: 1px solid rgba(167, 243, 208, 0.28);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-content h1 {
  margin: 22px 0 18px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-content p {
  margin: 0 0 24px;
  color: #e2e8f0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.7;
}

.hero-tags,
.detail-meta,
.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-tags span,
.detail-meta span,
.movie-meta-row span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

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

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

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-teal));
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.34);
}

.btn-glass {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.24s ease, transform 0.24s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.30);
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev {
  left: 24px;
}

.hero-arrow-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.24s ease, background 0.24s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: #ffffff;
}

.hero-thumbs {
  position: absolute;
  right: max(32px, calc((100% - 1180px) / 2));
  bottom: 82px;
  z-index: 4;
  display: grid;
  gap: 12px;
  width: 250px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border-radius: 16px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  opacity: 0.82;
  transition: transform 0.24s ease, opacity 0.24s ease, border-color 0.24s ease;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  opacity: 1;
  border-color: rgba(167, 243, 208, 0.72);
  transform: translateX(-4px);
}

.hero-thumb img {
  width: 60px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-thumb span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 750;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
}

.section-search {
  padding: 34px 0 24px;
}

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

.section-title-row h2,
.page-hero h1,
.detail-main h1 {
  margin: 8px 0 0;
  color: var(--color-text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-kicker {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  border-color: transparent;
}

.section-more,
.rank-more {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.search-input-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  color: var(--color-muted);
  transform: translateY(-50%);
  font-weight: 800;
}

.search-input-wrap input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px 0 46px;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.search-input-wrap input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
}

.search-status {
  white-space: nowrap;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

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

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

.movie-grid-small,
.movie-grid-catalog {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.78);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(16, 185, 129, 0.34);
}

.poster-shell {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #064e3b, #0f766e, #164e63);
}

.movie-grid-catalog .poster-shell,
.movie-grid-small .poster-shell {
  aspect-ratio: 3 / 4;
}

.poster-shell::after,
.related-thumb::after {
  content: attr(data-title);
  position: absolute;
  inset: auto 10px 10px;
  display: none;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.poster-shell.image-missing::after,
.related-thumb.image-missing::after {
  display: block;
}

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

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

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(5, 150, 105, 0.92);
  font-size: 12px;
  font-weight: 800;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.movie-card:hover .poster-play {
  transform: translateY(0);
  opacity: 1;
}

.movie-info {
  padding: 16px;
}

.movie-meta-row {
  gap: 6px;
  margin-bottom: 10px;
}

.movie-meta-row span {
  color: var(--color-primary-dark);
  background: #ecfdf5;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.32;
}

.movie-info h3 a:hover {
  color: var(--color-primary-dark);
}

.movie-info p {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 0;
  overflow: hidden;
  color: var(--color-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-tags,
.quick-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span,
.detail-tags a,
.quick-filter-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 700;
}

.quick-filter-links {
  margin-top: 18px;
}

.quick-filter-links a {
  color: var(--color-primary-dark);
  background: #ecfdf5;
}

.quick-filter-links span {
  color: #0f766e;
  opacity: 0.78;
}

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

.category-tile,
.category-card-large {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
  border: 1px solid rgba(16, 185, 129, 0.18);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover,
.category-card-large:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.category-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  right: -28px;
  top: -28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
}

.category-tile strong,
.category-main-link span {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.2;
}

.category-tile em,
.category-main-link strong {
  color: var(--color-primary-dark);
  font-style: normal;
  font-weight: 800;
}

.category-tile p,
.category-card-large p {
  color: var(--color-muted);
}

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

.category-main-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.category-card-large ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.category-card-large li a {
  color: #334155;
  font-weight: 700;
}

.category-card-large li a:hover {
  color: var(--color-primary-dark);
}

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

.rank-panel,
.side-card,
.detail-main {
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.86);
}

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.rank-panel-head span {
  color: var(--color-primary-dark);
  font-weight: 900;
}

.rank-panel-head h2 {
  margin: 4px 0 18px;
  font-size: 30px;
}

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

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

.rank-item:hover {
  background: #ecfdf5;
  transform: translateX(4px);
}

.rank-number,
.table-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
  font-weight: 900;
}

.rank-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.rank-info {
  grid-column: 2;
  color: var(--color-muted);
  font-size: 12px;
  margin-top: -8px;
}

.rank-more {
  display: inline-flex;
  margin-top: 18px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: radial-gradient(circle at top right, rgba(45, 212, 191, 0.36), transparent 32%), linear-gradient(135deg, #064e3b 0%, #0f766e 54%, #164e63 100%);
}

.page-hero h1,
.page-hero p,
.page-hero .breadcrumb,
.page-hero .breadcrumb a {
  color: #ffffff;
}

.page-hero p {
  max-width: 820px;
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 18px;
}

.page-hero .page-kicker {
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.14);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 750;
}

.breadcrumb a {
  color: var(--color-primary-dark);
}

.player-section {
  background: #020617;
}

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

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

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(5, 150, 105, 0.18), rgba(0, 0, 0, 0.72));
  cursor: pointer;
}

.player-overlay[hidden] {
  display: none;
}

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-teal));
  box-shadow: 0 20px 45px rgba(5, 150, 105, 0.34);
  font-size: 28px;
}

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

.player-overlay em {
  color: #cbd5e1;
  font-style: normal;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

.player-status:empty {
  display: none;
}

.detail-section {
  padding-top: 42px;
}

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

.detail-main {
  padding: 30px;
}

.detail-meta span {
  color: var(--color-primary-dark);
  background: #ecfdf5;
}

.detail-one-line {
  margin: 20px 0 0;
  color: #334155;
  font-size: 18px;
  font-weight: 650;
}

.detail-tags a:hover {
  color: #ffffff;
  background: var(--color-primary);
}

.prose-block,
.review-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}

.prose-block h2,
.review-block h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
}

.prose-block p,
.review-block p {
  margin: 0;
  color: #334155;
  white-space: pre-line;
}

.review-block {
  padding: 26px;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
}

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

.side-card {
  padding: 20px;
}

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

.related-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  transition: background 0.24s ease;
}

.related-item:hover {
  background: #f8fafc;
}

.related-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #064e3b, #0f766e, #164e63);
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-text strong,
.related-text em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.related-text strong {
  color: var(--color-text);
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.related-text em {
  margin-top: 4px;
  color: var(--color-muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

.ranking-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-line);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.ranking-table th,
.ranking-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}

.ranking-table th {
  color: #475569;
  background: #f8fafc;
  font-size: 13px;
  text-transform: uppercase;
}

.ranking-table td a {
  font-weight: 800;
}

.ranking-table td a:hover {
  color: var(--color-primary-dark);
}

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

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

.footer-brand {
  color: #ffffff;
  font-size: 22px;
}

.footer-inner p {
  max-width: 680px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}

.footer-links a {
  color: #e2e8f0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 1100px) {
  .movie-grid,
  .movie-grid-featured,
  .movie-grid-small,
  .movie-grid-catalog,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-thumbs {
    display: none;
  }

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

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

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

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-slider {
    height: 560px;
    min-height: 560px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 96px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .search-panel,
  .section-title-row,
  .footer-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .search-panel,
  .footer-inner {
    display: grid;
  }

  .search-status {
    white-space: normal;
  }

  .movie-grid,
  .movie-grid-featured,
  .movie-grid-small,
  .movie-grid-catalog,
  .category-grid,
  .category-large-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .section {
    padding: 48px 0;
  }

  .section-search {
    padding: 24px 0 10px;
  }

  .movie-info {
    padding: 13px;
  }

  .movie-info h3 {
    font-size: 16px;
  }

  .movie-info p {
    font-size: 13px;
  }

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

  .detail-main {
    padding: 22px;
  }

  .related-item {
    grid-template-columns: 96px 1fr;
  }
}

@media (max-width: 460px) {
  .container,
  .header-inner,
  .mobile-nav,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .movie-grid,
  .movie-grid-featured,
  .movie-grid-small,
  .movie-grid-catalog,
  .category-grid,
  .category-large-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    height: 620px;
  }

  .hero-actions,
  .static-actions {
    width: 100%;
  }

  .btn {
    flex: 1 1 100%;
  }
}
