@font-face {
  font-family: 'CYKLONE';
  src: url('./fonts/CYKLONE.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #080808;
}

#bgTileLayer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-position: 0 0;
  background-repeat: repeat;
}

#bgTileOverlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#app {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #080808;
  color: #c8c8c8;
  font-family: 'Inter', 'SF Mono', monospace;
  transition: opacity 0.6s ease;
}

.loader-text {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.loader-pct {
  font-size: 2.5rem;
  font-weight: 200;
  margin-top: 0.5rem;
  opacity: 0.4;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.dots {
  animation: blink 1.5s ease-in-out infinite;
}
