:root {
  --bg: #070a12;
  --bg2: #0f1630;
  --text: #e9eefc;
  --muted: #9fb0d8;
  --accent: #6ec8ff;
  --accent2: #a78bfa;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 200, 255, 0.55) rgba(7, 10, 22, 0.92);
}

html::-webkit-scrollbar {
  width: 11px;
}

html::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(5, 8, 16, 0.98) 0%, rgba(12, 18, 38, 0.96) 45%, rgba(8, 12, 28, 0.98) 100%);
  border-left: 1px solid rgba(110, 200, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.45);
}

html::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 3px solid rgba(5, 8, 16, 0.75);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 50% 78%, rgba(200, 230, 255, 0.2) 0 1px, transparent 2px),
    linear-gradient(180deg, rgba(160, 220, 255, 0.55) 0%, rgba(90, 175, 235, 0.65) 42%, rgba(130, 110, 210, 0.45) 100%);
  box-shadow: 0 0 14px rgba(110, 200, 255, 0.28), inset 0 0 8px rgba(255, 255, 255, 0.12);
}

html::-webkit-scrollbar-thumb:hover {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.5) 0 1px, transparent 2px),
    linear-gradient(180deg, rgba(190, 235, 255, 0.75) 0%, rgba(110, 200, 255, 0.82) 45%, rgba(170, 150, 240, 0.6) 100%);
  box-shadow: 0 0 20px rgba(110, 200, 255, 0.42), inset 0 0 10px rgba(255, 255, 255, 0.18);
}

html::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, rgba(130, 200, 240, 0.85), rgba(90, 165, 230, 0.9), rgba(140, 120, 210, 0.65));
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(110, 200, 255, 0.18), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(167, 139, 250, 0.16), transparent 50%),
    linear-gradient(180deg, var(--bg), var(--bg2) 42%, #0a0f22 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.entry-active {
  overflow: hidden;
}

/* 全站角色看板壁纸（开场结束后启用）；首屏 Hero 仍为 Steam 图不变 */
.page-wallpaper {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  background-image: url("assets/sora-shinkai-spotlight.png");
  background-size: cover;
  background-position: 52% 22%;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.75s ease;
}

body.has-wallpaper .page-wallpaper {
  opacity: 1;
  background-position: 50% 16%;
}

.page-frost {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.55s ease, backdrop-filter 0.42s ease, background 0.42s ease, -webkit-backdrop-filter 0.42s ease;
  /* 默认（未启用全站壁纸时）不生效；启用后由下方规则覆盖 */
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
  background: rgba(7, 10, 18, 0.12);
}

body.has-wallpaper .page-frost {
  opacity: 1;
}

/* 指针在 Hero / section 上：轻毛玻璃 + 浅遮罩，仍能看出底图是看板；划到留白则完全透明 */
body.has-wallpaper.wallpaper-frost--main .page-frost {
  backdrop-filter: blur(11px) saturate(1.03);
  -webkit-backdrop-filter: blur(11px) saturate(1.03);
  background: rgba(7, 10, 18, 0.14);
}

/* 划到「留白」或壁纸露出的缝隙：去掉模糊，看板更清晰 */
body.has-wallpaper:not(.wallpaper-frost--main) .page-frost {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
}

body.has-wallpaper {
  background: transparent;
}

/* 角色看板作底：正文区收窄居中，两侧更多露出壁纸（毛玻璃由 .page-frost + JS 控制） */
body.has-wallpaper .section:not(.section--strip) {
  max-width: min(840px, 93vw);
}

body.has-wallpaper .strip-head {
  max-width: min(840px, 93vw);
}

body.has-wallpaper .hero__content {
  max-width: min(800px, 92vw);
}

body.has-wallpaper .site-header {
  max-width: min(920px, 96vw);
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

body.has-wallpaper .site-footer {
  max-width: min(840px, 93vw);
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 16, 0.55) 18%, rgba(5, 8, 16, 0.92));
}

.entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse 90% 70% at 50% 42%, rgba(20, 40, 72, 0.55), rgba(4, 6, 14, 0.96) 72%);
  opacity: 1;
  pointer-events: auto;
}

.entry-overlay__glow {
  position: absolute;
  inset: -20%;
  background: conic-gradient(
    from 200deg at 50% 45%,
    transparent 0deg,
    rgba(110, 200, 255, 0.12) 80deg,
    transparent 160deg,
    rgba(167, 139, 250, 0.1) 260deg,
    transparent 360deg
  );
  animation: entry-glow-spin 14s linear infinite;
  pointer-events: none;
}

@keyframes entry-glow-spin {
  to {
    transform: rotate(360deg);
  }
}

.entry-overlay__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.03) 3px,
    rgba(255, 255, 255, 0.03) 4px
  );
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  animation: entry-scan 2.2s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.65;
}

@keyframes entry-scan {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(-4%);
  }
  50% {
    opacity: 0.7;
    transform: translateY(4%);
  }
}

.entry-overlay__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 90vw;
}

.entry-overlay__kicker {
  margin: 0;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  transition-delay: 0.05s;
}

.entry-overlay__brand,
.entry-overlay__title,
.entry-overlay__sub {
  margin: 0;
}

/* 入场主文案：柔焦 + 上移 + 错开延迟（非逐字打字） */
.entry-overlay .entry-reveal-line {
  opacity: 0;
  transform: translateY(1.25rem);
  filter: blur(12px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: calc(0.38s + (var(--er, 0) * 0.18s));
}

.entry-overlay--in .entry-reveal-line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.entry-overlay__title-text {
  background: linear-gradient(92deg, #dff6ff, var(--accent) 40%, var(--accent2) 78%, #fdefff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.entry-overlay__brand {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 10vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text);
  text-shadow: 0 0 40px rgba(110, 200, 255, 0.35);
}

.entry-overlay__title {
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 4.2vw, 1.85rem);
  font-weight: 700;
}

.entry-overlay__sub {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: rgba(159, 176, 216, 0.85);
}

.entry-overlay--in .entry-overlay__kicker {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.entry-overlay--exit {
  pointer-events: none;
  animation: entry-fly-out 1.05s var(--ease) forwards;
}

@keyframes entry-fly-out {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 0;
    transform: scale(1.04) translateY(-18px);
    filter: blur(14px) saturate(1.15);
    clip-path: inset(0 0 100% 0);
  }
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.92), rgba(7, 10, 18, 0.35));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(var(--header-y, 0));
  transition: transform 0.35s var(--ease), background 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 18, 0.82);
}

.logo--brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.logo__accent {
  width: 3px;
  align-self: stretch;
  min-height: 2.25rem;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  box-shadow: 0 0 16px rgba(110, 200, 255, 0.55);
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}

.logo__series {
  font-weight: 800;
  font-size: clamp(1.08rem, 2.5vw, 1.42rem);
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--text);
  text-shadow: 0 0 22px rgba(110, 200, 255, 0.5), 0 0 40px rgba(110, 200, 255, 0.2);
}

.logo__work {
  font-size: clamp(0.62rem, 1.55vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  max-width: 18em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(92deg, #dff6ff, var(--accent) 38%, var(--accent2) 78%, #fdefff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(110, 200, 255, 0.35));
}

.logo--brand:hover .logo__series {
  color: #f2f7ff;
}

.logo--brand:hover .logo__accent {
  box-shadow: 0 0 22px rgba(110, 200, 255, 0.75);
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

main {
  position: relative;
  z-index: 3;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 10vw, 7rem) clamp(1rem, 4vw, 3rem) 4rem;
  overflow: hidden;
  transition: min-height 1.05s var(--ease);
}

.hero.hero--retract {
  min-height: clamp(280px, 44vh, 520px);
}

.hero__bg {
  position: absolute;
  inset: -12%;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 22%;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.06);
  filter: saturate(1.08) contrast(1.05);
  will-change: transform;
}

.hero.hero--retract .hero__bg {
  inset: -7%;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.02);
  filter: saturate(1.04) contrast(1.04);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 50% 40%, rgba(7, 10, 18, 0.1), rgba(7, 10, 18, 0.82) 70%),
    linear-gradient(120deg, rgba(110, 200, 255, 0.12), transparent 40%, rgba(167, 139, 250, 0.12));
  mix-blend-mode: normal;
}

.hero__content {
  position: relative;
  max-width: 920px;
  text-align: center;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(92deg, #dff6ff, var(--accent) 35%, var(--accent2) 75%, #fdefff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue-shift 10s ease-in-out infinite alternate;
}

@keyframes hue-shift {
  0% {
    filter: hue-rotate(-6deg) saturate(1.05);
  }
  100% {
    filter: hue-rotate(10deg) saturate(1.15);
  }
}

.hero__subtitle {
  margin: 0 auto 2rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  line-height: 1.7;
}

.hero__subtitle--soft-reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  filter: blur(8px);
  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease), filter 1.05s var(--ease);
  transition-delay: 0.42s;
}

.hero.hero--ready .hero__subtitle--soft-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 首屏入场层结束前，主 hero 的淡入动画暂不播放，避免与遮罩叠在一起 */
.hero:not(.hero--ready) .animate-in {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

.hero:not(.hero--ready) .hero__scroll-hint {
  opacity: 0;
  visibility: hidden;
  animation: none;
  transform: translateX(-50%);
}

.hero.hero--ready .hero__scroll-hint {
  visibility: visible;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn--primary {
  color: #041018;
  background: linear-gradient(120deg, #b9f0ff, var(--accent) 45%, #7ad0ff);
  box-shadow: 0 12px 40px rgba(110, 200, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(110, 200, 255, 0.45);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.05rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.85;
  animation: float-y 2.8s ease-in-out infinite;
}

.hero__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}

@keyframes float-y {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
  max-width: 1120px;
  margin: 0 auto;
}

.section--split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.section__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section__text h2,
.section__heading {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 1rem;
}

.section__text p,
.section__lede {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 1rem;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.facts li {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.65;
}

.facts span {
  display: inline-block;
  min-width: 3.2rem;
  margin-right: 0.35rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section--strip {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.strip-head {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) 1.25rem;
}

.strip-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.strip-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.strip-scroll {
  --strip-progress: 0;
  --strip-progress-pct: 0%;
  --strip-particle-a: 7%;
  --strip-particle-b: 18%;
  --strip-particle-alpha-a: 0.2;
  --strip-particle-alpha-b: 0.16;
  --strip-glow-alpha: 0.2;
  --strip-trail-opacity: 0.35;
  --strip-spark: 0;
  position: relative;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(151, 218, 255, 0.95) rgba(15, 24, 48, 0.68);
  scrollbar-width: thin;
  padding: 0.75rem clamp(1rem, 4vw, 3rem) 1.45rem;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.strip-scroll::before,
.strip-scroll::after {
  content: "";
  position: sticky;
  left: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 18px;
  margin-top: -4px;
  margin-bottom: -14px;
  pointer-events: none;
  border-radius: 999px;
  box-sizing: border-box;
}

.strip-scroll::before {
  background:
    radial-gradient(circle at var(--strip-progress-pct) 50%, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle at var(--strip-particle-a) 38%, rgba(181, 239, 255, var(--strip-particle-alpha-a)) 0 1px, transparent 2px),
    radial-gradient(circle at var(--strip-particle-b) 68%, rgba(230, 213, 255, var(--strip-particle-alpha-b)) 0 1px, transparent 2px),
    linear-gradient(90deg, transparent, rgba(110, 200, 255, 0.2), rgba(167, 139, 250, 0.22), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 34px);
  filter: drop-shadow(0 0 12px rgba(110, 200, 255, var(--strip-glow-alpha)));
  opacity: 0.86;
}

.strip-scroll::after {
  transform: translateY(-5px);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(110, 200, 255, 0.12) var(--strip-progress-pct),
    rgba(255, 255, 255, 0.5) var(--strip-progress-pct),
    transparent calc(var(--strip-progress-pct) + 9%)
  );
  opacity: var(--strip-trail-opacity);
  filter: blur(4px);
}

.strip-scroll::-webkit-scrollbar {
  height: 18px;
}

.strip-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(110, 200, 255, 0.08), rgba(167, 139, 250, 0.12), rgba(110, 200, 255, 0.08)),
    rgba(9, 15, 31, 0.72);
  border: 1px solid rgba(157, 213, 255, 0.16);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.48), 0 0 18px rgba(110, 200, 255, 0.1);
}

.strip-scroll::-webkit-scrollbar-thumb {
  border: 4px solid rgba(9, 15, 31, 0.82);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, #ffffff 0 2px, transparent 3px),
    radial-gradient(circle at 72% 46%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    linear-gradient(90deg, #c8f4ff, #6ec8ff 45%, #b9a5ff 78%, #f4ddff);
  box-shadow: 0 0 18px rgba(110, 200, 255, 0.46), inset 0 0 10px rgba(255, 255, 255, 0.34);
}

.strip-scroll::-webkit-scrollbar-thumb:hover {
  background:
    radial-gradient(circle at 18% 50%, #ffffff 0 2px, transparent 3px),
    radial-gradient(circle at 72% 46%, #ffffff 0 1px, transparent 2px),
    linear-gradient(90deg, #effcff, #7ed8ff 42%, #c9b8ff 78%, #ffeafa);
  box-shadow: 0 0 26px rgba(110, 200, 255, 0.62), 0 0 18px rgba(167, 139, 250, 0.34);
}

.strip-scroll.is-scrolling .strip-card::after {
  opacity: 0.72;
  transform: translateX(110%) skewX(-18deg);
}

.strip-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  padding-bottom: 0.55rem;
}

.strip-card {
  position: relative;
  flex: 0 0 auto;
  width: min(280px, 72vw);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  padding: 0;
  cursor: zoom-in;
  scroll-snap-align: start;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
}

.strip-card::before,
.strip-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.strip-card::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, transparent 62%, rgba(8, 18, 37, 0.62));
  mix-blend-mode: screen;
  opacity: 0.34;
}

.strip-card::after {
  top: -16%;
  bottom: -16%;
  left: -45%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(213, 244, 255, 0.54), transparent);
  filter: blur(6px);
  opacity: 0;
  transform: translateX(0) skewX(-18deg);
  transition: opacity 0.18s ease, transform 0.85s var(--ease);
}

.strip-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  transform: scale(1.02);
  transition: transform 0.55s var(--ease);
}

.strip-card:hover,
.strip-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(110, 200, 255, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(110, 200, 255, 0.12);
  outline: none;
}

.strip-card:hover img,
.strip-card:focus-visible img {
  transform: scale(1.06);
}

.strip-videos {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.5rem clamp(1rem, 4vw, 3rem) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 0.85rem;
  align-items: stretch;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, color 0.25s ease;
}

.video-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.45);
  color: var(--text);
}

.video-card--wide img {
  width: 100%;
  height: min(200px, 28vw);
  object-fit: cover;
  object-position: center 20%;
}

.section--gallery {
  max-width: 100%;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.gallery-bg {
  position: absolute;
  inset: -8%;
  background-image: url("https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1033420/page_bg_raw.jpg?t=1726605629");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.14;
  filter: saturate(1.1) blur(2px);
  transform: scale(1.04);
  pointer-events: none;
}

.gallery-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.section--gallery .section__heading,
.section--gallery .section__lede {
  text-align: center;
}

.section--gallery .section__lede {
  margin-left: auto;
  margin-right: auto;
  max-width: 56ch;
}

.gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.gallery-tile {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 338;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.55s var(--ease), filter 0.4s ease;
}

.gallery-tile__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.45rem 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #e9eefc;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.gallery-tile:hover,
.gallery-tile:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(110, 200, 255, 0.5);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(110, 200, 255, 0.15);
  outline: none;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.08);
  filter: brightness(1.06);
}

.gallery-tile:hover .gallery-tile__hint,
.gallery-tile:focus-visible .gallery-tile__hint {
  opacity: 1;
  transform: translateY(0);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 4rem) clamp(2.5rem, 6vw, 3.5rem);
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(10px);
}

.lightbox:not([hidden]) {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  cursor: zoom-out;
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, calc(100vw - 5.5rem));
  max-height: min(86vh, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
  background: #000;
}

.lightbox__cap {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: clamp(0.5rem, 2vw, 1rem);
  right: clamp(0.5rem, 2vw, 1rem);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.lightbox__nav:hover {
  background: rgba(110, 200, 255, 0.2);
  transform: translateY(-50%) scale(1.06);
}

.lightbox__nav--prev {
  left: max(10px, env(safe-area-inset-left));
}

.lightbox__nav--next {
  right: max(10px, env(safe-area-inset-right));
}

@media (max-width: 720px) {
  .lightbox {
    padding: 3.25rem 0.75rem 4.5rem;
  }

  .lightbox__figure {
    max-width: 100%;
    max-height: none;
  }

  .lightbox__img {
    max-height: min(62vh, 560px);
  }

  .lightbox__nav {
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: none;
  }

  .lightbox__nav:hover {
    transform: scale(1.06);
  }

  .lightbox__nav--prev {
    left: max(12px, env(safe-area-inset-left));
  }

  .lightbox__nav--next {
    right: max(12px, env(safe-area-inset-right));
  }
}

.section--story {
  max-width: 100%;
  padding-left: clamp(1rem, 5vw, 4rem);
  padding-right: clamp(1rem, 5vw, 4rem);
}

.section--story .section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.lead {
  font-size: 1.05rem;
  color: var(--text);
  opacity: 0.92;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.story-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.story-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 200, 255, 0.45);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(110, 200, 255, 0.12);
}

.section--cast .section__heading {
  text-align: center;
}

.section--cast .section__lede {
  text-align: center;
  margin-bottom: 2rem;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cast-card {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.cast-card img {
  width: 100%;
  height: clamp(200px, 22vw, 260px);
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s var(--ease);
}

.cast-card:hover img {
  transform: scale(1.08);
}

.cast-card__shine {
  pointer-events: none;
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 42%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
}

.cast-card:hover .cast-card__shine {
  opacity: 0.55;
}

.cast-card figcaption {
  padding: 1rem 1.1rem 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.cast-card strong {
  font-size: 1.05rem;
}

.cast-card__name-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cast-card__name-link:hover {
  color: var(--accent);
  border-bottom-color: rgba(110, 200, 255, 0.45);
}

.cast-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.fineprint {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(159, 176, 216, 0.75);
  text-align: center;
}

.section--cta {
  display: grid;
  place-items: center;
}

.cta-card {
  width: min(720px, 100%);
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(110, 200, 255, 0.35);
  background: linear-gradient(145deg, rgba(110, 200, 255, 0.12), rgba(167, 139, 250, 0.1));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.cta-card h2 {
  margin: 0 0 0.75rem;
}

.cta-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  filter: blur(4px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.site-footer {
  position: relative;
  z-index: 3;
  padding: 2.5rem clamp(1rem, 4vw, 3rem) 3rem;
  text-align: center;
  color: rgba(159, 176, 216, 0.75);
  font-size: 0.85rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer p {
  margin: 0.35rem 0;
}

@media (max-width: 960px) {
  .section--split {
    grid-template-columns: 1fr;
  }

  .strip-videos {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .cast-grid {
    grid-template-columns: 1fr;
  }

  .cast-card img {
    height: min(260px, 52vw);
  }

  body.has-wallpaper .page-wallpaper {
    background-position: 62% 14%;
  }

  .nav {
    position: fixed;
    top: 64px;
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 14, 26, 0.96);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .logo--brand {
    gap: 0.45rem;
    max-width: min(52vw, 14rem);
  }

  .logo__accent {
    min-height: 1.85rem;
  }

  .logo__work {
    letter-spacing: 0.14em;
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .entry-overlay .entry-reveal-line {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .hero__subtitle--soft-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .entry-overlay {
    display: none !important;
  }

  body.has-wallpaper .page-frost {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
  }

  .hero {
    transition: none !important;
  }

  .hero.hero--retract {
    min-height: clamp(280px, 44vh, 520px);
  }

  .hero.hero--retract .hero__bg {
    transform: none !important;
  }

  .hero__bg,
  .tilt-card,
  .story-card,
  .cast-card img,
  .reveal,
  .animate-in,
  .hero__title-line--accent,
  .hero__scroll-hint,
  .strip-card,
  .gallery-tile,
  .video-card {
    animation: none !important;
    transition: none !important;
  }

  .hero__bg {
    transform: none;
  }

  .animate-in,
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
