/*================================================

General

================================================*/

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

html,
body {
  height: 100%;
  background-color: #000;
}

body {
  background: radial-gradient(#333, #111);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
}

/*================================================

Header

================================================*/

header {
  background-color: #333;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #444;
}

.logo {
  max-width: 150px;
  height: auto;
}

/*================================================

Footer

================================================*/

footer {
  background-color: #222;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 10px 20px;
  border-top: 1px solid #444;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer a {
  color: #0af;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}

/*================================================

Score

================================================*/

.score {
  color: rgba(255, 255, 255, 0.8);
  font-size: 40px;
  font-weight: bold;
  text-align: left;
  margin-left: 20px;
}

/*================================================

Stage

================================================*/

.stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/*================================================

Tiles

================================================*/

.tile {
  background: rgba(0, 0, 0, 0.15);
  position: absolute;
  transition: background 3000ms, box-shadow 3000ms, opacity 3000ms, transform 3000ms;
  transform: translateZ(0);
}

.tile:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 0;
  width: 0;
  opacity: 0;
  transition: opacity 300ms;
}

.tile.path:before {
  opacity: 1;
}

.tile.up:before {
  border-bottom: 4px inset rgba(255, 255, 255, 0.15);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.tile.down:before {
  border-top: 4px inset rgba(255, 255, 255, 0.15);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.tile.left:before {
  border-right: 4px inset rgba(255, 255, 255, 0.15);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.tile.right:before {
  border-left: 4px inset rgba(255, 255, 255, 0.15);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

@media (max-width: 900px), (max-height: 900px) {
  .tile.up:before,
  .tile.down:before,
  .tile.left:before,
  .tile.right:before {
    border-width: 3px;
  }
}

@media (max-width: 500px), (max-height: 500px) {
  .tile.up:before,
  .tile.down:before,
  .tile.left:before,
  .tile.right:before {
    border-width: 2px;
  }
}



/* Button in Bottom-Right Corner */
.corner-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: #00ffcc; /* Vibrant neon green-blue */
  color: #000; /* Black text for contrast */
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc, 0 0 30px #00ffcc; /* Neon glow */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.corner-button:hover {
  background-color: #00e6b3; /* Slightly darker neon color */
  box-shadow: 0 0 15px #00e6b3, 0 0 30px #00e6b3, 0 0 45px #00e6b3; /* Enhance glow on hover */
}

.corner-button:focus {
  outline: none;
  box-shadow: 0 0 20px #00ffcc, 0 0 40px #00ffcc, 0 0 60px #00ffcc; /* Extra glow on focus */
}


