:root {
  --cyan: #0891b2;
  --cyan-dark: #0e7490;
  --blue: #2563eb;
  --teal: #0d9488;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--slate-800);
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--teal));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(8, 145, 178, 0.25);
}

.header-inner {
  max-width: 1280px;
  height: 66px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 650;
  font-size: 15px;
}

.nav-link {
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
  color: #cffafe;
  transform: translateY(-1px);
}

.nav-link-soft {
  font-size: 14px;
  opacity: 0.8;
}

.menu-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-button span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 4px;
}

.mobile-nav {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

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

.mobile-link {
  padding: 10px 0;
  font-weight: 650;
}

.mobile-link.is-active {
  color: #cffafe;
}

.hero-slider {
  position: relative;
  height: 60vh;
  min-height: 430px;
  overflow: hidden;
  background: var(--slate-950);
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.64) 48%, rgba(15, 23, 42, 0.12) 100%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: calc((100% - min(1280px, 100%)) / 2 + 22px);
  transform: translateY(-50%);
  width: min(680px, calc(100% - 44px));
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--cyan);
  font-size: 14px;
  font-weight: 750;
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-content p {
  margin: 0 0 26px;
  max-width: 620px;
  color: #e2e8f0;
  line-height: 1.8;
  font-size: 17px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 30px rgba(8, 145, 178, 0.28);
}

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

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.38);
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  font-size: 38px;
  line-height: 1;
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.64);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--white);
}

.page-shell {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 34px 0 54px;
}

.home-shell {
  display: grid;
  gap: 64px;
}

.content-section {
  position: relative;
}

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

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-title span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 20px rgba(8, 145, 178, 0.2);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.section-head a {
  color: var(--cyan-dark);
  font-weight: 750;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--slate-200);
}

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

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

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

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

.play-bubble {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-dark);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.year-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.58);
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.card-body strong {
  min-height: 42px;
  font-size: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-line {
  min-height: 42px;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--slate-500);
  font-size: 12px;
}

.card-meta em {
  color: var(--cyan-dark);
  font-style: normal;
  font-weight: 750;
}

.movie-card-compact .card-body {
  padding: 12px;
}

.movie-card-compact .card-line {
  display: none;
}

.movie-card-compact .card-body strong {
  min-height: 40px;
  font-size: 14px;
}

.rail-wrap {
  position: relative;
}

.movie-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  scrollbar-width: none;
}

.movie-rail::-webkit-scrollbar {
  display: none;
}

.movie-rail .movie-card {
  flex: 0 0 280px;
}

.rail-button {
  position: absolute;
  top: 42%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--slate-800);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 28px;
}

.rail-left {
  left: -16px;
}

.rail-right {
  right: -16px;
}

.category-overview {
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.85), rgba(207, 250, 254, 0.88));
}

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

.category-card,
.category-large-card {
  display: grid;
  gap: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card {
  padding: 20px;
}

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

.category-card strong,
.category-large-card strong {
  color: var(--slate-900);
  font-size: 18px;
}

.category-card span,
.category-large-card em {
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.7;
  font-style: normal;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.latest-panel,
.rank-panel,
.feature-section,
.ranking-section {
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

.mini-card {
  display: flex;
  gap: 14px;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
  background: var(--slate-100);
  transform: translateX(3px);
}

.mini-poster {
  width: 78px;
  height: 108px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: var(--slate-200);
}

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

.mini-info {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
}

.mini-info strong {
  color: var(--slate-900);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-info span,
.mini-info em {
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

.mini-info em {
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 38px 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.rank-item:hover {
  background: var(--slate-100);
}

.rank-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-dark);
  background: #cffafe;
  font-weight: 850;
}

.rank-item img {
  width: 64px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.rank-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rank-text strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-text em {
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

.feature-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

.feature-section .section-head a,
.feature-section .section-title h2 {
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 180px;
  gap: 18px;
}

.feature-large,
.feature-small {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--slate-700);
}

.feature-large {
  grid-row: span 2;
}

.feature-large img,
.feature-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feature-large:hover img,
.feature-small:hover img {
  transform: scale(1.08);
}

.feature-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.18));
}

.feature-text {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 8px;
  padding: 24px;
}

.feature-text em {
  color: #67e8f9;
  font-style: normal;
  font-weight: 800;
}

.feature-text strong {
  font-size: 28px;
}

.feature-text span {
  color: #cbd5e1;
  line-height: 1.7;
}

.feature-small span {
  position: absolute;
  inset: auto 12px 12px;
  color: var(--white);
  font-weight: 750;
  text-shadow: 0 2px 10px rgba(2, 6, 23, 0.7);
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  padding: 42px;
  border-radius: 28px;
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.42), transparent 32%), linear-gradient(135deg, var(--slate-900), var(--cyan-dark));
  box-shadow: var(--shadow);
}

.page-hero span {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 750;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 18px;
  color: var(--slate-600);
  font-size: 14px;
}

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

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

.category-large-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.category-number {
  color: var(--cyan-dark);
  font-size: 26px;
  font-weight: 900;
}

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

.category-covers img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--slate-200);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px 160px;
  gap: 12px;
  margin-top: 24px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--slate-800);
  background: var(--white);
  outline: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.empty-state {
  display: none;
  padding: 48px;
  text-align: center;
  color: var(--slate-500);
  border-radius: 18px;
  background: var(--white);
}

.empty-state.is-visible {
  display: block;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 58px 86px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-index {
  color: var(--cyan-dark);
  font-size: 22px;
  font-weight: 900;
}

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

.ranking-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.ranking-main strong {
  color: var(--slate-900);
  font-size: 17px;
}

.ranking-main em {
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.6;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-meta {
  color: var(--slate-500);
  font-size: 13px;
  white-space: nowrap;
}

.detail-shell {
  padding-top: 24px;
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card,
.detail-card,
.side-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  background: radial-gradient(circle, rgba(8, 145, 178, 0.22), rgba(2, 6, 23, 0.66));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-dark);
  background: rgba(255, 255, 255, 0.94);
  font-size: 28px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.36);
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.76);
}

.player-message.is-visible {
  display: block;
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

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

.detail-meta span,
.tag-list span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--slate-700);
  background: var(--slate-100);
  font-size: 13px;
  font-weight: 650;
}

.tag-list span {
  color: var(--cyan-dark);
  background: #cffafe;
}

.detail-card section {
  margin-top: 24px;
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 12px;
  color: var(--slate-900);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.detail-card p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.9;
  font-size: 16px;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 22px;
}

.side-card {
  padding: 20px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  margin-bottom: 16px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--slate-200);
}

.full-button {
  width: 100%;
}

.next-prev {
  display: grid;
  gap: 12px;
}

.next-prev a {
  padding: 12px;
  border-radius: 12px;
  color: var(--slate-700);
  background: var(--slate-100);
  font-weight: 650;
}

.next-prev a:hover {
  color: var(--cyan-dark);
}

.site-footer {
  color: var(--white);
  background: linear-gradient(180deg, var(--slate-800), var(--slate-950));
}

.footer-inner {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 360px;
  color: #cbd5e1;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #67e8f9;
  font-size: 17px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.site-footer a,
.footer-bottom {
  color: #cbd5e1;
  font-size: 14px;
}

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

.footer-bottom {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 14px;
    font-size: 14px;
  }

  .nav-link-soft {
    display: none;
  }

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

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

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

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

  .menu-button {
    display: inline-flex;
  }

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

  .hero-slider {
    height: 68vh;
  }

  .hero-arrow {
    display: none;
  }

  .four-col,
  .six-col,
  .category-grid,
  .category-large-grid,
  .split-section,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-large {
    grid-column: span 2;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 44px 72px 1fr;
  }

  .ranking-meta {
    grid-column: 3;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .mobile-nav,
  .page-shell,
  .footer-inner,
  .footer-bottom {
    width: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .hero-content {
    left: 16px;
    width: calc(100% - 32px);
  }

  .hero-content p {
    -webkit-line-clamp: 4;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .four-col,
  .six-col,
  .category-grid,
  .category-large-grid,
  .split-section,
  .footer-inner,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: auto;
    min-height: 320px;
  }

  .category-overview,
  .latest-panel,
  .rank-panel,
  .feature-section,
  .page-hero,
  .detail-card,
  .side-card {
    padding: 20px;
    border-radius: 18px;
  }

  .movie-rail .movie-card {
    flex-basis: 230px;
  }

  .rail-button {
    display: none;
  }

  .ranking-row {
    grid-template-columns: 38px 64px 1fr;
    gap: 10px;
  }

  .ranking-row img {
    width: 64px;
    height: 48px;
  }
}
