html, body, main.site-content { 
  height: 100%; 
}

body {
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: #000;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  color: #dedede;
  font-size: 1rem;
  font-family: "Fira code", monospace; 
  font-weight: 400;
  margin: 0;
}

html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.1px;
}

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

section, main {
  display: block;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
}

#particle-canvas.cursor-capture-pending {
  cursor: grab;
}

#particle-canvas.cursor-capture-active {
  cursor: grabbing;
}

#particle-canvas.gravity-well-hover {
  cursor: grab;
}

#particle-canvas.gravity-well-dragging {
  cursor: grabbing;
}

.gravity-well-radius-label,
.gravity-well-strength-label {
  position: absolute;
  z-index: 22;
  transform: translate(-50%, -50%);
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font: 600 12px/1.5 "Fira Code", monospace;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.gravity-well-strength-label {
  color: #ffd6df;
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.96);
  transition: opacity 160ms cubic-bezier(0.22, 1, 0.36, 1), transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(255, 128, 160, 0.38);
}

.gravity-well-strength-label[data-force="white"] {
  color: #dffcff;
  box-shadow: 0 0 8px rgba(126, 225, 255, 0.42);
}

.gravity-well-strength-label.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .gravity-well-strength-label {
    transition: none;
  }
}

.tp-dfwv {
  width: min(400px, calc(100vw - 24px)) !important;
}

.performance-overlay {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  color: #fff;
  background: rgba(0,0,0,0.75);
  padding: 6px 8px;
  font-family: "Fira Code", monospace;
  border-radius: 4px;
  pointer-events: none;
  display: none;
  line-height: 1.15;
}
.performance-overlay.visible {
  display: block;
}
.performance-overlay pre {
  margin: 0;
  font: inherit;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Allow canvas interactions through overlay text */
  pointer-events: none;
}

.typewriter h1 {
  color: #fff;
  overflow: hidden;
  border-right: 0.15em solid #fff;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0;
  animation: typing 2.5s steps(10), blink-caret 0.75s step-end infinite;
  user-select: none;
  pointer-events: none;
}

/* Ensure whole overlay stack (title + blobs) doesn't block pointer events */
.typewriter,
.blobs-container,
.blob {
  pointer-events: none;
}

.center-text {
  text-align: center;
  animation: hero-overlay-fade 10s linear forwards;
}

@keyframes hero-overlay-fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes typing {
  0% {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  0%, to {
    border-color: transparent;
  }
  50% {
    border-color: #fff;
  }
}

.blobs-container {
  display: flex;
  width: 100%;
  justify-content: center;
}

.blob {
  border-radius: 50%;
  box-shadow: 0 0 0 0;
  margin: 10px;
  height: 20px;
  width: 20px;
  transform: scale(1);
  animation: pulse 2s infinite;
}

.blob.black {
  background: #000;
  animation-name: pulse-black;
}

.blob.white {
  background: #fff;
  animation-name: pulse-white;
}

.blob.red {
  background: #ff5252;
  animation-name: pulse-red;
}

.blob.orange {
  background: #ff793f;
  animation-name: pulse-orange;
}

.blob.yellow {
  background: #ffb142;
  animation-name: pulse-yellow;
}

.blob.blue {
  background: #34ace0;
  animation-name: pulse-blue;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0;
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px transparent;
  }
  to {
    transform: scale(0.95);
    box-shadow: 0 0 0 0;
  }
}

@keyframes pulse-black {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }
}

@keyframes pulse-white {
  0% {
    box-shadow: 0 0 0 0 hsla(0, 0%, 100%, 0.7);
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
  }
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 121, 63, 0.7);
  }
}

@keyframes pulse-yellow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 177, 66, 0.7);
  }
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 172, 224, 0.7);
  }
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
  font-weight: 800;
  clear: both;
  color: #eceded;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 44px;
  line-height: 54px;
  letter-spacing: -0.3px;
  margin-top: 48px;
  margin-bottom: 32px;
}

@media (min-width: 641px) {
  h1 {
    font-size: 52px;
    line-height: 62px;
  }
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  max-width: 1128px;
}

@media (min-width: 481px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

[class*="container"] [class*="container"] {
  padding-left: 0;
  padding-right: 0;
}

.site-content {
  flex: 1 0 auto;
}
