@font-face {
  font-family: 'ApexSemiBold';
  src: url('./fonts/Apex-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Ensures the font shows up once it's ready */

}
.slots, h1, h3 {
  pointer-events: none;
}
body {
  --size: 150px;
  overflow: hidden;
  font-family: 'ApexSemiBold', sans-serif; /* Adds sans-serif fallback */
  color: #fff;
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-size: cover;
  z-index: 1;
  padding-top: 150px;
}
h1 {
  mix-blend-mode: color-dodge;
}

canvas {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background: radial-gradient(circle at 30% 30%, rgba(150, 0, 255, 0.5), rgba(0, 0, 0, 0.95));

}

.content {
  position: relative;
  width: fit-content;
  height: fit-content;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  pointer-events: none;
}



.slots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}
.slots h3 {
  transform: translateY(calc(-100% - 5px));
}
h3 {
  height: 20px;
  margin: 0;
  padding: 0;
  position: absolute;
}
.slot {
  height: var(--size);
  width: var(--size);
  overflow: hidden;
  border-radius: 5px;
}
.symbols {
  transform: translateY(calc(-1 * var(--winner, var(--items)) * var(--size)));
  transition-property: transform;
  transition-duration: 5s;
  transition-timing-function: ease-in-out;
  transition-delay: calc(var(--slot-number, 0) * 250ms);
  width: var(--size);
}

.symbol {
  display: flex;
  flex-direction: column;
  background-size: cover;
  align-items: center;
  height: var(--size);
  width: var(--size);
}

.symbol .title {
  color: #fff;
  font-weight: bold;
  margin-top: auto;
}
.buttons {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  margin-top: 40px;
  justify-content: center;
  width: fit-content;
}
button {
  cursor: pointer;
  border: 0;
  border: 2px solid #211c2a;
  border-radius: 3px;
  border-bottom: 4px solid #ff00ff;
  height: 80px;
  width: 350px;
  background: linear-gradient(180deg, rgba(3,3,6,1) 42%, #9314c9 84%);
  color: #fff;
  text-transform: uppercase;
  font-size: 20px;
  font-family: 'ApexSemiBold';
}

@media screen and (max-width: 1024px) {
  body {
    padding-top: 100px;
    --size: 84px;
  }
  .buttons {
    flex-direction: column;
  }

}

h1 {
  font-size: 28px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 5px;
  background-color: transparent;
  
  /* Neon Glow Effect */
  text-shadow: 
      0 0 5px #fff,
      0 0 10px #fff,
      0 0 20px #ff00ff,
      0 0 30px #ff00ff,
      0 0 40px #ff00ff,
      0 0 50px #ff00ff,
      0 0 60px #ff00ff;
  
  /* Animation */
  animation: neonGlow 1.5s ease-in-out infinite alternate;
}

/* Animation for pulsating neon effect */
@keyframes neonGlow {
  from {
    text-shadow: 
      0 0 5px #fff,
      0 0 10px #fff,
      0 0 20px #ff00ff,
      0 0 30px #ff00ff,
      0 0 40px #ff00ff,
      0 0 50px #ff00ff,
      0 0 60px #ff00ff;
  }
  
  to {
    text-shadow: 
      0 0 10px #fff,
      0 0 20px #ff00ff,
      0 0 30px #ff00ff,
      0 0 40px #ff00ff,
      0 0 50px #ff00ff,
      0 0 60px #ff00ff,
      0 0 70px #ff00ff;
  }
}