:root {
  color-scheme: dark;
  --bg: #07130f;
  --surface: rgba(9, 33, 27, 0.82);
  --surface-2: rgba(18, 60, 48, 0.76);
  --surface-3: rgba(31, 92, 72, 0.72);
  --line: rgba(213, 236, 194, 0.22);
  --text: #f7fff8;
  --muted: #c7d9ca;
  --accent: #e6c86d;
  --accent-2: #bff0c6;
  --ok: #69d9aa;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(230, 255, 218, 0.08), rgba(4, 21, 16, 0.88) 42%, rgba(3, 14, 12, 0.96)),
    linear-gradient(90deg, rgba(2, 16, 14, 0.9), rgba(20, 92, 69, 0.3) 45%, rgba(2, 18, 16, 0.88)),
    url("assets/jade-background.png") center / cover fixed no-repeat,
    var(--bg);
  color: var(--text);
  font-family: Arial, "Noto Sans Thai", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(6, 32, 25, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header .top-nav {
  padding-right: 150px;
}

.brand,
.top-nav,
.top-category-nav,
.hero-actions,
.hero-meta,
.meta,
.search-row,
.category-tabs,
.section-heading,
.stats-strip {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e7d184, #6fc49b 58%, #0f6b52);
  color: #062016;
  font-size: 22px;
  font-weight: 900;
}

.brand-mark.has-logo {
  background: rgba(2, 28, 20, 0.72);
  border: 1px solid rgba(236, 211, 117, 0.45);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  max-width: 260px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-counter {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(236, 211, 117, 0.32);
  border-radius: 999px;
  background: rgba(2, 32, 23, 0.72);
  color: #eaf8ec;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.site-header .online-counter {
  position: absolute;
  top: 14px;
  right: clamp(16px, 4vw, 56px);
  z-index: 3;
}

.online-counter strong {
  color: var(--accent);
  font-size: 14px;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4dffb0;
  box-shadow: 0 0 0 4px rgba(77, 255, 176, 0.12), 0 0 12px rgba(77, 255, 176, 0.72);
}

.top-nav {
  gap: 6px;
}

.top-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  white-space: nowrap;
}

.top-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.top-category-nav {
  position: relative;
  z-index: 1;
  gap: 8px;
  overflow-x: auto;
  padding: 8px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 29, 22, 0.9);
  backdrop-filter: blur(16px);
  scrollbar-width: thin;
}

.top-category-nav:empty {
  display: none;
}

.top-category-nav .category-tab {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 11px;
  font-size: 13px;
}

.top-category-nav .category-tab span {
  font-size: 12px;
}

.hero {
  --hero-image: none;
  position: relative;
  min-height: min(680px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.56fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(28px, 5vw, 72px) clamp(16px, 5vw, 64px) 34px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 20, 17, 0.96), rgba(8, 45, 35, 0.72) 48%, rgba(196, 238, 196, 0.14)),
    var(--hero-image) center / cover no-repeat;
}

.hero.is-ready .hero-copy,
.hero.is-ready .hero-media {
  animation: heroFade 420ms ease both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 38, 30, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-nav:hover {
  border-color: var(--accent);
  background: rgba(230, 200, 109, 0.9);
  color: #062016;
}

.hero-nav-prev {
  left: clamp(12px, 2vw, 28px);
}

.hero-nav-next {
  right: clamp(12px, 2vw, 28px);
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media {
  justify-self: center;
  width: min(330px, 70vw);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.announcement,
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-weight: 800;
}

.announcement {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  background: rgba(230, 200, 109, 0.18);
  color: #fff0a8;
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-meta,
.meta {
  flex-wrap: wrap;
  gap: 7px;
}

.hero-meta span,
.meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 19, 24, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.hero-actions {
  gap: 10px;
  margin-top: 24px;
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.hero-dot {
  width: 30px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
}

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

@keyframes heroFade {
  from {
    opacity: 0.78;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.primary-action,
.secondary-action,
.search-box button,
.pagination-page,
.support-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.primary-action,
.search-box button,
.pagination-page.is-active {
  padding: 0 18px;
  background: linear-gradient(135deg, #f2df96, #d3b45f);
  color: #062016;
}

.secondary-action {
  padding: 0 14px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
}

.stats-strip {
  justify-content: center;
  gap: 12px;
  padding: 18px clamp(16px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 9, 0.78);
  backdrop-filter: blur(12px);
}

.stats-strip article {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 19, 24, 0.82);
  backdrop-filter: blur(10px);
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  font-size: 28px;
}

.stats-strip span {
  color: var(--muted);
}

.browse-panel,
.banner-zone,
.rail-section,
.content-section {
  padding: 22px clamp(16px, 5vw, 64px);
}

.banner-zone {
  display: grid;
  gap: 12px;
  background: rgba(5, 10, 9, 0.62);
  border-bottom: 1px solid var(--line);
}

.site-banner {
  min-height: 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.banner-content,
.banner-content img {
  width: 100%;
}

.banner-content {
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.banner-content img {
  height: 100%;
  display: block;
  max-height: 190px;
  object-fit: fill;
}

.banner-content strong {
  width: 100%;
  padding: 8px 10px;
  background: rgba(9, 10, 12, 0.86);
  color: var(--text);
}

.browse-panel {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 9, 0.9);
  backdrop-filter: blur(12px);
}

.search-row {
  gap: 12px;
  margin-bottom: 14px;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  flex: 1;
}

.search-box input,
.search-row select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 0 12px;
}

.search-row select {
  min-width: 140px;
}

.advanced-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 10px;
  margin-bottom: 12px;
}

.advanced-filters select {
  min-height: 40px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 0 12px;
}

.category-tabs {
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  padding: 0 12px;
  white-space: nowrap;
}

.category-tab span {
  color: var(--muted);
}

.category-tab.is-active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(242, 223, 150, 0.96), rgba(91, 173, 129, 0.86));
  color: #062016;
  font-weight: 800;
}

.category-tab.is-active span {
  color: #163a29;
}

.section-heading {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: 25px;
}

.section-heading span {
  color: var(--muted);
}

.section-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.view-all-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(230, 200, 109, 0.54);
  border-radius: 999px;
  background: rgba(4, 30, 22, 0.82);
  color: #f7e49a;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.view-all-button span {
  color: inherit;
  font-size: 18px;
  line-height: 1;
}

.view-all-button:hover,
.view-all-button:focus-visible {
  border-color: var(--accent);
  background: rgba(28, 90, 67, 0.94);
  color: #fff4c4;
  transform: translateY(-1px);
}

.poster-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 170px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.movie-card {
  min-width: 0;
  display: grid;
  gap: 9px;
  align-content: start;
  scroll-snap-align: start;
  overflow: hidden;
}

.poster-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.poster {
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.poster-fallback {
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.content-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: var(--radius);
  background: rgba(230, 200, 109, 0.92);
  color: #062016;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.38;
  letter-spacing: 0;
}

.movie-card.is-compact h3 {
  font-size: 14px;
}

.movie-card:hover .poster {
  border-color: rgba(230, 200, 109, 0.78);
}

.meta {
  gap: 5px;
}

.meta span {
  min-height: 24px;
  font-size: 12px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 26px auto 0;
}

.pagination-page {
  min-width: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(4, 22, 18, 0.86);
  color: var(--text);
}

.pagination-page:hover:not(:disabled),
.pagination-page:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination-page.is-active {
  border-color: rgba(242, 223, 150, 0.95);
  box-shadow: 0 10px 28px rgba(230, 200, 109, 0.18);
}

.pagination-page:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pagination-gap {
  min-width: 28px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.empty-state {
  margin: 28px 0;
  color: var(--muted);
}

.quick-category-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 29;
  max-width: calc(100vw - 40px);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(230, 200, 109, 0.4);
  border-radius: 999px;
  background: rgba(3, 24, 18, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.quick-category-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.quick-category-label {
  padding-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.quick-category-nav a,
.quick-category-nav button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid rgba(199, 217, 202, 0.22);
  border-radius: 999px;
  background: rgba(18, 60, 48, 0.88);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.quick-category-nav a:hover,
.quick-category-nav a:focus-visible,
.quick-category-nav button:hover,
.quick-category-nav button:focus-visible {
  border-color: var(--accent);
  color: #fff1b7;
}

.quick-category-nav button {
  width: 38px;
  padding: 0;
  font-size: 20px;
}

.support-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  gap: 10px;
  min-width: 190px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(230, 200, 109, 0.5);
  background:
    linear-gradient(135deg, rgba(242, 223, 150, 0.98), rgba(91, 173, 129, 0.94)),
    var(--ok);
  color: #06120d;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.support-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.support-button:disabled {
  cursor: default;
}

.support-button.is-loading {
  opacity: 0.72;
}

.support-button.is-supported {
  background:
    linear-gradient(135deg, rgba(121, 218, 167, 0.96), rgba(19, 118, 88, 0.96)),
    var(--ok);
  color: #eafff4;
}

.support-button[data-position="bottom-left"] {
  right: auto;
  left: 18px;
}

.support-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(6, 18, 13, 0.14);
  color: inherit;
  font-size: 24px;
  line-height: 1;
}

.support-copy {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.support-copy strong,
.support-copy small {
  display: block;
}

.support-copy strong {
  font-size: 14px;
}

.support-copy small {
  color: rgba(6, 18, 13, 0.72);
  font-size: 12px;
}

.support-button.is-supported .support-copy small {
  color: rgba(234, 255, 244, 0.76);
}

.contact-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: clamp(30px, 7vw, 86px) clamp(16px, 5vw, 64px);
}

.contact-panel {
  width: min(920px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(122, 255, 181, 0.12), transparent 38%),
    rgba(4, 27, 20, 0.78);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 48px rgba(93, 255, 174, 0.1),
    0 28px 80px rgba(0, 0, 0, 0.34);
  padding: clamp(24px, 5vw, 54px);
  text-align: center;
}

.contact-panel h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
}

.contact-heading {
  justify-content: center;
  margin-bottom: 18px;
}

.contact-panel .empty-state {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(244, 255, 247, 0.9);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.9;
  text-align: center;
  white-space: pre-line;
}

.contact-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f2df96, #d3b45f);
  color: #062016;
  padding: 0 14px;
  font-weight: 800;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.line-contact-link {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  border: 1px solid rgba(82, 255, 127, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, #06c755, #04a947);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(6, 199, 85, 0.2);
}

.line-contact-link:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.line-contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  color: #06c755;
  font-size: 11px;
  font-weight: 1000;
}

.line-contact-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.midnight-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: clamp(38px, 7vw, 92px) clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(157, 255, 198, 0.14);
  border-bottom: 1px solid rgba(157, 255, 198, 0.12);
  background:
    radial-gradient(circle at 20% 50%, rgba(118, 255, 187, 0.2), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(77, 255, 176, 0.13), transparent 34%),
    linear-gradient(135deg, #010806 0%, #061b14 42%, #020706 100%);
}

.midnight-intro::before {
  content: "";
  position: absolute;
  inset: -35% 10% auto auto;
  z-index: -1;
  width: min(560px, 78vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(115, 255, 191, 0.14);
  filter: blur(64px);
}

.midnight-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.42) 78%);
}

.midnight-intro-inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 68px);
  margin: 0 auto;
}

.midnight-intro-logo-wrap {
  display: grid;
  place-items: center;
}

.midnight-intro-logo {
  width: clamp(160px, 18vw, 220px);
  height: clamp(160px, 18vw, 220px);
  display: block;
  border: 1px solid rgba(178, 255, 211, 0.34);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow:
    0 0 0 10px rgba(84, 255, 169, 0.06),
    0 0 42px rgba(91, 255, 178, 0.24),
    0 24px 64px rgba(0, 0, 0, 0.48);
  object-fit: cover;
}

.midnight-intro-copy {
  max-width: 820px;
  color: #f4fff7;
}

.midnight-intro-kicker {
  margin: 0 0 8px;
  color: #92ffc4;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.midnight-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
}

.midnight-intro h2 span,
.midnight-intro-kicker {
  color: #92ffc4;
}

.midnight-intro-lead {
  margin: 16px 0 0;
  color: #ddffea;
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 800;
  line-height: 1.65;
}

.midnight-intro-detail {
  margin: 16px 0 0;
  color: rgba(244, 255, 247, 0.82);
  font-size: 16px;
  line-height: 1.95;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-left: clamp(18px, 7vw, 64px);
    padding-right: clamp(18px, 7vw, 64px);
  }

  .hero-media {
    justify-self: start;
    width: min(220px, 55vw);
    order: -1;
  }

  .hero-nav {
    top: auto;
    bottom: 20px;
    width: 40px;
    height: 44px;
    font-size: 30px;
    transform: none;
  }

  .stats-strip {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .stats-strip article {
    flex: 1 1 150px;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .top-nav,
  .search-row {
    overflow-x: auto;
  }

  .top-category-nav {
    top: 119px;
  }

  .browse-panel {
    top: 119px;
  }

  .search-row,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading-actions {
    justify-content: space-between;
  }

  .quick-category-nav {
    bottom: 10px;
    width: calc(100vw - 20px);
    max-width: none;
    border-radius: 18px;
  }

  .quick-category-label {
    display: none;
  }

  .support-button {
    bottom: 72px;
  }

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

  .advanced-filters {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .poster-rail {
    grid-auto-columns: minmax(135px, 42vw);
  }

  .midnight-intro {
    padding: 38px 18px 46px;
  }

  .midnight-intro-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
    text-align: center;
  }

  .midnight-intro-copy {
    max-width: 640px;
  }

  .midnight-intro-detail {
    font-size: 15px;
    line-height: 1.85;
  }
}
