
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
}

#board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 880px; 
  padding: 20px;
  background: rgba(0,0,0,0.5);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,255,255,0.4);
}


.tile {
  background: linear-gradient(145deg, #555, #333);
  width: 200px;
  height: 120px;
  border-radius: 14px;
  box-shadow: inset 2px 2px 5px #777,inset -2px -2px 5px #222,4px 4px 15px rgba(0, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #00ffe0;
  
  transition: all 0.3s ease;
}

.tile:hover {
  cursor: pointer;
  background: linear-gradient(145deg, #00ffe0, #009f94);
  box-shadow:0 0 15px #00ffe0,inset 0 0 10px #00ffe0;
  font-size: 36px;
  color: #fff;
  transform: translateY(-4px);
}

.tile:active {
  transform: translateY(2px);
  box-shadow:
    inset 2px 2px 10px #009f94;
}

#resetBtn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  background: #1e90ff; /* cool blue */
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(30, 144, 255, 0.5);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#resetBtn:hover {
  background: #0d6efd;
  transform: scale(1.05);
}

#resetBtn:active {
  background: #0a58ca;
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(10, 88, 202, 0.7);
}

#result {
  margin-top: 20px;
  font-size: 1.4rem;
  font-weight: 800;
  color: red;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  min-height: 30px;
}

#result.win {
  color: #28a745; 
}

#result.lose {
  color: #dc3545; 
}
