:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --emerald-500: #10b981;
  --emerald-700: #047857;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.22);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.96), rgba(16, 185, 129, 0.94));
  color: var(--white);
  box-shadow: 0 12px 35px rgba(21, 128, 61, 0.22);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1240px, calc(100% - 28px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green-600);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(21, 128, 61, 0.25);
  font-size: 14px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text em {
  margin-top: 4px;
  color: var(--green-100);
  font-size: 12px;
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  position: relative;
  padding: 25px 0;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  font-size: 15px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 285px;
}

.header-search input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button,
.primary-btn,
.ghost-btn,
.text-link,
.light-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-search button {
  height: 40px;
  padding: 0 18px;
  color: var(--green-700);
  background: var(--white);
}

.primary-btn {
  min-height: 46px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-600), var(--emerald-500));
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.28);
}

.primary-btn:hover,
.header-search button:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ghost-btn {
  min-height: 46px;
  padding: 0 24px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  position: relative;
  min-height: 680px;
  color: var(--white);
  overflow: hidden;
  background: radial-gradient(circle at 10% 15%, rgba(187, 247, 208, 0.28), transparent 28%), linear-gradient(135deg, #15803d 0%, #10b981 52%, #0f766e 100%);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.22), transparent 45%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 26%);
}

.hero-slider {
  position: relative;
  z-index: 2;
  min-height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: 44px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 46px -120px 30px;
  z-index: -1;
  border-radius: 42px;
  background-image: linear-gradient(90deg, rgba(5, 46, 22, 0.82), rgba(5, 150, 105, 0.34)), var(--hero-bg);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  box-shadow: var(--shadow-lg);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-meta {
  margin: 0 0 14px;
  color: var(--green-100);
  font-size: 18px;
  font-weight: 700;
}

.hero-desc {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero-tags {
  margin-top: 22px;
}

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

.hero-poster {
  position: relative;
  width: min(360px, 100%);
  justify-self: center;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.03);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green-600);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-md);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 36px;
  line-height: 1;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 110px;
  color: #f9fffb;
}

.section {
  padding: 72px 0;
}

.section-green {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-700), var(--emerald-700));
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading span {
  color: var(--green-600);
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

.section-heading p {
  margin: 0;
  color: var(--slate-500);
}

.centered {
  text-align: center;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.light-heading h2,
.light-heading span,
.light-heading p {
  color: var(--white);
}

.text-link {
  color: var(--green-700);
  font-size: 15px;
}

.light-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 9px 16px;
}

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

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

.category-card {
  position: relative;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(22, 163, 74, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.category-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-500), var(--emerald-500));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card strong,
.category-card em,
.category-card .category-arrow {
  position: relative;
  z-index: 1;
}

.category-card strong {
  font-size: 22px;
  font-weight: 900;
}

.category-card em {
  margin-top: 8px;
  color: var(--slate-500);
  font-style: normal;
}

.category-arrow {
  margin-top: 18px;
  color: var(--green-700);
  font-weight: 800;
}

.category-card:hover {
  color: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover .category-glow {
  opacity: 1;
}

.category-card:hover em,
.category-card:hover .category-arrow {
  color: var(--white);
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 24px;
}

.featured-main .movie-card {
  height: 100%;
}

.featured-side {
  display: grid;
  gap: 14px;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.32);
  box-shadow: var(--shadow-md);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--slate-100);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 2.85;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.play-float {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green-600);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge,
.small-rank {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #ef4444, #f97316);
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.card-content {
  padding: 16px;
}

.card-meta {
  min-height: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.card-meta span,
.tag-list span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--green-700);
  background: var(--green-50);
  font-size: 12px;
  font-weight: 700;
}

.movie-card h3 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.32;
}

.movie-card h3 a:hover,
.horizontal-card h3 a:hover {
  color: var(--green-700);
}

.movie-card p {
  margin: 0 0 12px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.55;
}

.tag-list,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.compact-card .card-content {
  padding: 14px;
}

.compact-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 47px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 16px;
}

.compact-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.horizontal-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.horizontal-thumb img {
  width: 96px;
  height: 120px;
  object-fit: cover;
}

.small-rank {
  left: 8px;
  top: 8px;
  min-width: 26px;
  height: 26px;
  font-size: 12px;
}

.horizontal-card h3 {
  margin: 0 0 5px;
  color: var(--slate-900);
  font-size: 16px;
  line-height: 1.35;
}

.horizontal-card p {
  margin: 0;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.45;
}

.horizontal-card .muted {
  margin-bottom: 6px;
  color: var(--green-700);
  font-weight: 700;
}

.page-hero {
  padding: 96px 0 78px;
  color: var(--white);
  background: radial-gradient(circle at 15% 5%, rgba(187, 247, 208, 0.32), transparent 26%), linear-gradient(135deg, var(--green-700), var(--emerald-500));
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.page-hero .eyebrow {
  color: var(--green-700);
  background: var(--white);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(22, 163, 74, 0.14);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.filter-field label {
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--slate-800);
  outline: none;
  background: var(--white);
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.result-line {
  min-height: 28px;
  margin-bottom: 18px;
  color: var(--slate-500);
  font-weight: 700;
}

.filter-card.is-hidden {
  display: none;
}

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

.detail-hero {
  position: relative;
  padding: 72px 0 62px;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(5, 46, 22, 0.92), rgba(6, 95, 70, 0.82)), var(--detail-bg);
  background-size: cover;
  background-position: center;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.18), transparent 24%);
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green-100);
  font-size: 14px;
}

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

.breadcrumb em {
  color: var(--white);
  font-style: normal;
}

.detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.detail-meta,
.side-meta {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.detail-meta span,
.side-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.detail-meta strong,
.side-meta strong {
  min-width: 46px;
  color: var(--green-100);
}

.detail-btn {
  margin-top: 26px;
}

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

.detail-main,
.detail-side {
  display: grid;
  gap: 20px;
}

.player-card,
.content-card,
.side-card {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

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

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.54));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  font-size: 28px;
}

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

.content-card,
.side-card {
  padding: 24px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 12px;
  color: var(--slate-900);
  font-size: 24px;
  line-height: 1.25;
}

.content-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 16px;
}

.side-card .side-meta span {
  color: var(--slate-700);
}

.side-card .side-meta strong {
  color: var(--green-700);
}

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

.side-list .horizontal-card {
  box-shadow: none;
  border: 1px solid var(--slate-100);
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: var(--slate-900);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr;
  gap: 36px;
  padding: 52px 0 32px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 22px;
}

.site-footer p {
  max-width: 420px;
  margin: 18px 0 0;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a:hover {
  color: var(--green-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 24px;
  text-align: center;
}

@media (max-width: 1180px) {
  .header-search {
    display: none;
  }

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

@media (max-width: 920px) {
  .nav-shell {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(21, 128, 61, 0.98);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 13px 18px;
  }

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

  .hero,
  .hero-slider {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 26px;
    padding: 30px 0 90px;
  }

  .hero-slide::before {
    inset: 32px -16px 52px;
  }

  .hero-poster {
    width: min(280px, 78vw);
  }

  .hero-control {
    display: none;
  }

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

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

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

  .filter-panel .search-field {
    grid-column: 1 / -1;
  }

  .detail-hero-grid {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .brand-text strong {
    font-size: 18px;
  }

  .brand-text em {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero,
  .hero-slider {
    min-height: 720px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.025em;
  }

  .hero-desc,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

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

  .hero-dots {
    bottom: 62px;
  }

  .section {
    padding: 52px 0;
  }

  .category-grid,
  .large-category-grid,
  .compact-grid,
  .movie-grid,
  .rank-list,
  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  .filter-panel .search-field,
  .filter-field:last-child {
    grid-column: 1 / -1;
  }

  .movie-card h3 {
    font-size: 15px;
  }

  .card-content {
    padding: 12px;
  }

  .card-meta span,
  .tag-list span,
  .detail-tags span {
    font-size: 11px;
  }

  .horizontal-card {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .horizontal-thumb img {
    width: 80px;
    height: 104px;
  }

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

  .detail-poster {
    width: min(220px, 62vw);
  }

  .detail-meta span,
  .side-meta span {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .content-card,
  .side-card {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .category-grid,
  .large-category-grid,
  .compact-grid,
  .movie-grid,
  .rank-list,
  .filter-panel {
    grid-template-columns: 1fr;
  }
}
