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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: default;
  background-color: #050508;
  background-image: radial-gradient(
    circle at 50% 50%,
    #08080c 0%,
    #050508 55%,
    #020205 100%
  );
  color-scheme: dark;
}

body {
  position: fixed;
  inset: 0;
}

#dust {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#ember {
  position: fixed;
  left: 61.8vw;
  top: 61.8vh;
  width: 3px;
  height: 3px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.ember-core,
.ember-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
}

.ember-core {
  background: #fff5e0;
  opacity: 0.94;
}

.ember-glow {
  transform-origin: 50% 50%;
  transform: scale(1.03, 0.995);
  box-shadow:
    0.4px -0.2px 7px 2px rgba(255, 228, 176, 0.4),
    0.8px -0.35px 26px 9px rgba(255, 216, 150, 0.08),
    1.6px -0.7px 90px 36px rgba(255, 200, 130, 0.028),
    2.4px -1px 220px 100px rgba(255, 186, 120, 0.01),
    3.2px -1.3px 340px 150px rgba(255, 176, 110, 0.004);
}

@media (max-width: 767px) {
  #ember {
    left: 64vw;
    top: 60vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ember {
    opacity: 1;
  }
}
