/* Slow, composited light over the existing navy and liquid-glass material. */
#site .next-game--ambient {
  background: #0b1b2d;
}
#site .next-game--ambient::before { content: none; }
#site .next-game--ambient > .hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  contain: paint;
}
.hero-atmosphere__material {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, #08162be8, #0a1c36b8 48%, #0a1c3670),
    url('/textures/liquid-chrome.webp?v=169cfa5f72d1ee6770edf8c1') center / cover;
}
[data-chrome-ready="true"] .hero-atmosphere__material { visibility: hidden; }
.hero-atmosphere__chrome {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .62;
}
.hero-atmosphere__light {
  position: absolute;
  z-index: 2;
  inset: -5%;
  background: radial-gradient(ellipse at 76% 27%, #93d8f52e, transparent 52%),
    radial-gradient(ellipse at 24% 84%, #568db824, transparent 48%);
  opacity: .55;
  animation: atmosphere-breathe 20s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.hero-atmosphere__bolt {
  position: absolute;
  z-index: 3;
  width: min(68%, 670px);
  aspect-ratio: 31 / 40;
  left: 50%;
  top: 50%;
  opacity: .92;
  transform: translate(-50%, -50%) perspective(1000px) rotateY(-12deg) rotate(-8deg);
  transform-origin: 52% 46%;
  animation: atmosphere-float 28s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.hero-atmosphere__bolt::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12%;
  background: radial-gradient(ellipse at 50% 52%, #65c8ff38, transparent 62%);
}
.hero-atmosphere__bolt img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 9px #c4f1ffb3) drop-shadow(0 0 32px #54baff8c);
}
.hero-atmosphere__reflection {
  position: absolute;
  inset: 0;
  -webkit-mask: url('/glass-lightning.svg?v=45681874a2200f3bbe5a31d5') center / contain no-repeat;
  mask: url('/glass-lightning.svg?v=45681874a2200f3bbe5a31d5') center / contain no-repeat;
}
.hero-atmosphere__reflection::after {
  content: "";
  position: absolute;
  inset: -60% 0;
  background: linear-gradient(156deg, transparent 39%, #d8f5ff08 43%, #e4f8ff8c 49%, #bfeaff12 53%, transparent 58%);
  opacity: .4;
  animation: atmosphere-reflect 36s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.hero-atmosphere::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  background: linear-gradient(110deg, #08162b90, #0a1c3666),
    linear-gradient(0deg, #0b1b2d66, transparent 65%);
}
.hero-atmosphere *, .hero-atmosphere__reflection::after { animation-play-state: paused; }
[data-atmosphere-running="true"] .hero-atmosphere *,
[data-atmosphere-running="true"] .hero-atmosphere__reflection::after { animation-play-state: running; }
@keyframes atmosphere-breathe {
  from { opacity: .4; transform: translate3d(-5px, 4px, 0); }
  to { opacity: .95; transform: translate3d(5px, -4px, 0); }
}
@keyframes atmosphere-float {
  from { transform: translate(-50%, -50%) perspective(1000px) translate3d(0, 5px, 0) rotateY(-12deg) rotate(-8deg); }
  to { transform: translate(-50%, -50%) perspective(1000px) translate3d(-6px, -7px, 0) rotateY(-6deg) rotate(-6deg); }
}
@keyframes atmosphere-reflect {
  from { transform: translate3d(0, -18%, 0); opacity: .25; }
  to { transform: translate3d(0, 18%, 0); opacity: .65; }
}
@media (max-width: 650px) {
  .hero-atmosphere__bolt { width: 108%; opacity: .8; }
  .hero-atmosphere__material {
    background-image: linear-gradient(110deg, #08162be8, #0a1c36bc 48%, #0a1c368c), url('/textures/liquid-chrome.webp?v=169cfa5f72d1ee6770edf8c1');
  }
}
@media (max-width: 360px) {
  #site .next-game--ambient .hero-head { gap: 8px; }
  #site .next-game--ambient .hero-head h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-atmosphere *, .hero-atmosphere__reflection::after { animation: none !important; }
  .hero-atmosphere__reflection { display: none; }
}
@media (prefers-contrast: more) {
  .hero-atmosphere { opacity: .25; }
}
@media (forced-colors: active) {
  #site .next-game--ambient { background: Canvas; }
  .hero-atmosphere { display: none; }
}
