:root {
  --bg: #07111f;
  --bg-deep: #030913;
  --surface: #0d1a2b;
  --surface-raised: #132238;
  --surface-soft: #18283d;
  --text: #f8f5ec;
  --muted: #a8b2c1;
  --faint: #748196;
  --accent: #f3b34c;
  --accent-strong: #ffca70;
  --teal: #49c5b6;
  --danger: #ff7777;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1220px;
  --font: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 16px;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(3, 9, 19, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 72px;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.site-brand__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(243, 179, 76, 0.12);
}

.custom-logo {
  width: auto;
  max-height: 44px;
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul,
.site-footer ul {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  color: var(--text);
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after {
  transform: scaleX(1);
}

.header-search {
  display: flex;
  width: 210px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
}

.header-search:focus-within {
  border-color: rgba(243, 179, 76, 0.7);
}

.header-search input {
  min-width: 0;
  padding: 8px 4px 8px 15px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search input::placeholder {
  color: var(--faint);
}

.header-search button {
  width: 44px;
  color: var(--accent);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.35rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle > span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(76vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.hero::before {
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: saturate(0.88) contrast(1.04);
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 9, 19, 0.98) 0%, rgba(3, 9, 19, 0.84) 36%, rgba(3, 9, 19, 0.25) 72%, rgba(3, 9, 19, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}

.hero__content {
  padding-block: 100px 120px;
}

.hero__content > * {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero h1,
.archive-hero h1,
.movie-detail h1,
.page-heading h1,
.empty-state--404 h1 {
  margin: 16px 0 20px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero p {
  max-width: 560px;
  margin: 0 0 30px;
  color: #c5cbd5;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-search {
  display: flex;
  max-width: 610px;
  padding: 7px;
  background: rgba(248, 245, 236, 0.97);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  padding: 12px 20px;
  color: var(--bg-deep);
  background: transparent;
  border: 0;
  outline: 0;
}

.hero-search button,
.filter-bar button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  color: #211505;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.25;
  transition: background 160ms ease, transform 160ms ease;
}

.hero-search button:hover,
.filter-bar button:hover,
.button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.genre-chips a {
  padding: 7px 13px;
  color: #ccd3dd;
  background: rgba(7, 17, 31, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.genre-chips a:hover {
  color: var(--bg-deep);
  background: var(--text);
}

.hero__credit {
  position: absolute;
  right: 22px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.section {
  padding-block: 86px;
}

.section--featured {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, #0b1727 100%);
}

.section--latest {
  background: #0b1727;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2,
.result-heading h2,
.movie-description h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.text-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link span {
  color: var(--accent);
}

.text-link:hover {
  color: var(--text);
}

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

.movie-card {
  min-width: 0;
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.movie-card__poster img,
.movie-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.movie-card__poster:hover img,
.movie-card__poster:hover .movie-card__placeholder {
  filter: brightness(0.68);
  transform: scale(1.035);
}

.movie-card__placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.26);
  background:
    radial-gradient(circle at 72% 18%, rgba(73, 197, 182, 0.34), transparent 35%),
    linear-gradient(145deg, #1a2e46, #0a1524 62%);
}

.movie-card__placeholder span {
  font-size: 3rem;
}

.movie-card__quality {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  color: #201300;
  background: var(--accent);
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.movie-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--bg-deep);
  background: rgba(248, 245, 236, 0.95);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.85);
  transition: opacity 200ms ease, transform 200ms ease;
}

.movie-card__poster:hover .movie-card__play,
.movie-card__poster:focus-visible .movie-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-card__body {
  padding-top: 13px;
}

.movie-card__title {
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-card__title a:hover {
  color: var(--accent-strong);
}

.movie-card__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: var(--faint);
  font-size: 0.76rem;
  white-space: nowrap;
}

.movie-card__meta > span + span::before {
  margin-right: 7px;
  content: "·";
}

.movie-card__rating {
  margin-left: auto;
  color: var(--accent);
}

.empty-state {
  padding: 70px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.empty-state__mark {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  place-items: center;
  color: var(--accent);
  background: rgba(243, 179, 76, 0.1);
  border: 1px solid rgba(243, 179, 76, 0.25);
  border-radius: 50%;
  font-size: 2rem;
}

.empty-state h3,
.empty-state h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.empty-state p {
  max-width: 580px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.section--promise {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.promise-grid > div {
  padding: 12px 40px;
  border-left: 1px solid var(--line);
}

.promise-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.promise-grid__number {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.promise-grid h3 {
  margin: 8px 0 3px;
  font-size: 1.2rem;
}

.promise-grid p {
  margin: 0;
  color: var(--muted);
}

.cine-ad {
  position: relative;
  margin-block: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cine-ad a,
.cine-ad__image {
  display: block;
  width: 100%;
}

.cine-ad__image {
  height: auto;
}

.cine-ad__label {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  padding: 2px 6px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.66);
  border-radius: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.ad-slot--header {
  margin-block: 14px;
}

.ad-slot--home {
  margin-block: 0;
}

.archive-main {
  padding-bottom: 100px;
}

.archive-hero {
  position: relative;
  padding: 90px 0 55px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(73, 197, 182, 0.14), transparent 34%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}

.archive-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.archive-hero p {
  margin: 0;
  color: var(--muted);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(150px, 0.7fr)) auto auto;
  align-items: end;
  gap: 14px;
  padding: 20px;
  margin: -18px 0 55px;
  background: rgba(19, 34, 56, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.filter-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--accent);
}

.filter-bar button {
  height: 48px;
  border-radius: 10px;
}

.filter-reset {
  align-self: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.result-heading h2 {
  font-size: 1.5rem;
}

.taxonomy-results {
  padding-top: 50px;
}

.pagination {
  margin-top: 60px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  min-width: 42px;
  padding: 8px 13px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--bg-deep);
  background: var(--accent);
}

.movie-single {
  padding-block: 35px 100px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow: hidden;
  color: var(--faint);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.watch-stage {
  position: relative;
  display: grid;
  min-height: 240px;
  overflow: hidden;
  place-items: center;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.watch-stage .wp-video,
.watch-stage video,
.watch-stage .player-embed,
.watch-stage .player-embed iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9;
}

.watch-stage video,
.watch-stage iframe {
  height: 100% !important;
}

.player-empty {
  min-height: min(62vw, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--muted);
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(73, 197, 182, 0.09), transparent 28%),
    #02050a;
}

.player-empty__icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 15px;
  place-items: center;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(243, 179, 76, 0.08);
}

.player-empty h2 {
  margin: 10px 0 0;
  color: var(--text);
}

.player-empty p {
  margin: 6px 0 0;
}

.ad-slot--player {
  margin: 18px 0 45px;
}

.movie-detail {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 46px;
  margin-top: 52px;
}

.movie-detail__poster img,
.movie-detail__poster .movie-card__placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.movie-detail__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.movie-detail h1 {
  margin: 10px 0 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.movie-detail__original {
  margin: 5px 0 0;
  color: var(--faint);
}

.favorite-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.favorite-button[aria-pressed="true"] {
  color: var(--accent);
  border-color: rgba(243, 179, 76, 0.5);
  background: rgba(243, 179, 76, 0.08);
}

.favorite-button span {
  font-size: 1.2rem;
}

.movie-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0;
}

.fact {
  padding: 6px 11px;
  color: #c7cfdb;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.79rem;
  font-weight: 800;
}

.fact--rating {
  color: var(--accent);
}

.movie-taxonomy {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.movie-taxonomy strong {
  display: inline-block;
  min-width: 58px;
  color: var(--text);
}

.movie-taxonomy a {
  color: var(--teal);
}

.movie-description {
  margin-top: 30px;
  color: var(--muted);
}

.movie-description h2 {
  color: var(--text);
  font-size: 1.2rem;
}

.trailer-section,
.related-section {
  padding-bottom: 0;
}

.trailer-frame {
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.trailer-frame iframe,
.trailer-frame video,
.trailer-frame .wp-video {
  width: 100% !important;
  aspect-ratio: 16 / 9;
}

.content-main {
  min-height: 65vh;
  padding-block: 90px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 55px;
}

.page-heading {
  margin-bottom: 38px;
}

.page-heading h1,
.empty-state--404 h1 {
  margin-top: 10px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.post-list {
  display: grid;
  gap: 15px;
}

.post-card {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.post-card h2 {
  margin: 0;
}

.post-card p {
  color: var(--muted);
}

.post-card__date {
  margin: 0 0 5px !important;
  color: var(--accent) !important;
  font-size: 0.75rem;
}

.prose-page {
  max-width: 880px;
}

.prose {
  color: #c1c9d5;
  font-size: 1.04rem;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
  color: var(--text);
}

.prose blockquote {
  padding-left: 20px;
  margin-left: 0;
  border-left: 3px solid var(--accent);
}

.empty-state--404 {
  max-width: 900px;
}

.site-footer {
  padding: 65px 0 25px;
  color: var(--muted);
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
}

.site-brand--footer {
  color: var(--text);
}

.site-footer__grid p {
  max-width: 380px;
  margin: 15px 0 0;
  font-size: 0.86rem;
}

.site-footer ul {
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__notice strong {
  color: var(--text);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  margin-top: 55px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.75rem;
}

@media (max-width: 1100px) {
  .site-header__inner {
    gap: 18px;
  }

  .primary-nav ul {
    gap: 17px;
  }

  .header-search {
    width: 170px;
  }

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

@media (max-width: 860px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    height: calc(100vh - 72px);
    padding: 34px 20px;
    background: rgba(3, 9, 19, 0.98);
    overflow-y: auto;
  }

  .admin-bar .primary-nav {
    top: 118px;
    height: calc(100vh - 118px);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }

  .primary-nav a {
    color: var(--text);
    font-size: 1.2rem;
  }

  .header-search {
    display: none;
  }

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

  .filter-field--search {
    grid-column: span 2;
  }

  .movie-detail {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 30px;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__notice {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    min-height: 700px;
    align-items: end;
  }

  .hero::before {
    background-position: 65% center;
  }

  .hero::after {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(3, 9, 19, 0.82) 60%, rgba(3, 9, 19, 0.4) 100%);
  }

  .hero__content {
    padding-block: 140px 95px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.3rem);
  }

  .hero-search {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
  }

  .hero-search input {
    min-height: 52px;
    background: rgba(248, 245, 236, 0.98);
    border-radius: 12px;
  }

  .hero-search button {
    min-height: 50px;
    border-radius: 12px;
  }

  .hero__credit {
    display: none;
  }

  .section {
    padding-block: 62px;
  }

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

  .movie-card__meta {
    font-size: 0.7rem;
  }

  .movie-card__rating {
    display: none;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading .text-link {
    padding-top: 26px;
  }

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

  .promise-grid > div,
  .promise-grid > div:first-child {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .promise-grid > div:first-child {
    border-top: 0;
  }

  .filter-bar {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .filter-field--search {
    grid-column: auto;
  }

  .filter-reset {
    text-align: center;
  }

  .movie-detail {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .movie-detail__poster {
    width: min(56vw, 240px);
  }

  .movie-detail__heading {
    flex-direction: column;
  }

  .movie-detail h1 {
    font-size: 2.5rem;
  }

  .player-empty {
    min-height: 56vw;
    padding: 20px;
  }

  .player-empty p {
    font-size: 0.8rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__notice {
    grid-column: auto;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
