.elementor-939 .elementor-element.elementor-element-4220691{--display:flex;}/* Start custom CSS for html, class: .elementor-element-3a8a013 */@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

#board, #controls, #status, #scoreboard {
  font-family: 'Orbitron', sans-serif;
}

#board {
  display: grid;
  grid-template-columns: repeat(8, 70px);
  grid-template-rows: repeat(8, 70px);
  box-shadow: 0 0 25px #00f9ff, inset 0 0 10px #003344;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px auto;
}
.square {
  width: 70px; height: 70px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.light { background: rgba(0, 255, 255, 0.08); }
.dark { background: rgba(0, 100, 150, 0.15); }
.square:hover { transform: scale(1.05); }
.selected { outline: 3px solid #ff00ff; box-shadow: 0 0 15px #ff00ff; }
.highlight { outline: 3px solid #00ff95; box-shadow: 0 0 15px #00ff95; }

#status { margin: 15px; font-weight: bold; font-size: 22px; text-shadow: 0 0 8px #00f9ff; }

#controls button, #controls select {
  background: rgba(255,255,255,0.05);
  border: 1px solid #00f9ff;
  color: #00f9ff;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#controls button:hover, #controls select:hover {
  background: #00f9ff; color: black; box-shadow: 0 0 15px #00f9ff;
}

#scoreboard { margin: 15px; font-size: 20px; text-shadow: 0 0 10px #ff00ff; }
#scoreboard span { margin: 0 10px; }

/* Confetti & Sparkles */
.confetti {
  position: fixed; top: -10px; width: 10px; height: 10px; border-radius: 50%;
  animation: fall 3s linear forwards; opacity: 0.9; z-index: 9999;
}
@keyframes fall { to { transform: translateY(100vh) rotate(720deg); opacity: 0; } }

.sparkle {
  position: fixed; width: 6px; height: 6px; background: yellow; border-radius: 50%;
  animation: twinkle 2s ease-in-out infinite; z-index: 9999;
}
@keyframes twinkle { 0%,100% { opacity:0; transform:scale(0.5);} 50% {opacity:1; transform:scale(1.5);} }/* End custom CSS */